Question about limitations of demo version

F-IN-BOX for Delphi / Builder C++ / VCL
GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Question about limitations of demo version

Postby GuyWithDogs » Wed Oct 25, 2006 12:07 am

I grabbed the 3.0 demo, dumped the files over the older demo I had, and tried out some of the samples. I can compile and run them.

So I tried creating my own application. All I did was drop a TFlashPlayerControl onto a form, assign a filename to Movie in Object Inspector, and set Playing to TRUE. It doesn't play. I added to OnShow

Code: Select all

FlashPlayerControl1.Movie := 'c:\banking.swf';
FlashPlayerControl1.Play;


Still nothing. What am I doing wrong?

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Question about limitations of demo version

Postby Softanics » Wed Oct 25, 2006 11:07 am

GuyWithDogs wrote:I grabbed the 3.0 demo, dumped the files over the older demo I had, and tried out some of the samples. I can compile and run them.


And all samples included in the demo version runs correctly?
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Re: Question about limitations of demo version

Postby GuyWithDogs » Wed Oct 25, 2006 3:07 pm

Softanics wrote:And all samples included in the demo version runs correctly?


I've compiled and run the Sample1_SWF_And_FLV_Player and Sample3_StandalonePlayer. Those seem most similar to what I'm wanting to do.

In my own test program, I didn't use any resources. I simply dropped the component on the form and tried to launch a SWF file by assigning a value to Movie and calling Play.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Question about limitations of demo version

Postby Softanics » Wed Oct 25, 2006 4:46 pm

GuyWithDogs wrote:
Softanics wrote:And all samples included in the demo version runs correctly?


I've compiled and run the Sample1_SWF_And_FLV_Player and Sample3_StandalonePlayer. Those seem most similar to what I'm wanting to do.

In my own test program, I didn't use any resources. I simply dropped the component on the form and tried to launch a SWF file by assigning a value to Movie and calling Play.


Sample1_SWF_And_FLV_Player plays a movie.swf from the application directory...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Question about limitations of demo version

Postby Softanics » Wed Oct 25, 2006 4:50 pm

GuyWithDogs wrote:
Softanics wrote:In my own test program, I didn't use any resources. I simply dropped the component on the form and tried to launch a SWF file by assigning a value to Movie and calling Play.


I did the same. It plays well...

What version of Delphi you use?

Do you get the same result with every movie?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Re: Question about limitations of demo version

Postby GuyWithDogs » Wed Oct 25, 2006 6:56 pm

Softanics wrote:I did the same. It plays well...

What version of Delphi you use?

Do you get the same result with every movie?


I'm using Delphi 7 Pro. I actually removed FlashPlayerControl and reinstalled it. Still can't get the movie to play.

However, I can change the movie being played by the demo and it plays my movie. What I end up with is a white section on my form that says "DEMO VERSION".

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Re: Question about limitations of demo version

Postby Softanics » Wed Oct 25, 2006 8:07 pm

GuyWithDogs wrote:However, I can change the movie being played by the demo and it plays my movie.


Another words, sample #1 plays your movie without any problems (.Movie = path_to_your_movie then .Play)... I can't understand, what is the difference between this sample and your test project. If you set the Movie property in the OnCreate event, it plays well. If you set the Movie property in Object Inspector, it doesn't play. Am I right?... I'm really need your help to resolve this problem.
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Postby GuyWithDogs » Wed Oct 25, 2006 9:08 pm

I've posted a test program to http://www.uploading.com/files/AS8HLMER/fpc3test.zip.html. The file will disappear after 30 days of not being downloaded.

The program tries to load movie.swf from the directory that the .exe file is in. Unzip everything into one directory and try it. Let me know what I'm doing wrong. Or that it works on your machine and it doesn't work on mine...

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Oct 26, 2006 6:37 am

I downloaded and run it. Included EXE really doesn't play movie.swf. But if I rebuild the project, the EXE plays movie.swf well...
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Postby GuyWithDogs » Thu Oct 26, 2006 3:42 pm

Softanics wrote:I downloaded and run it. Included EXE really doesn't play movie.swf. But if I rebuild the project, the EXE plays movie.swf well...


This makes no sense to me. I tried my project again, adding code to display the version of Flash being used. It showed 9.0.16.0. But t still didn't play the video.

I then opened your sample SWF_Embedding_and_FLV_Embedding into D7, clicked the "Run with Debug" icon, and it worked with no changes.

I'm completely baffled.

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Thu Oct 26, 2006 4:58 pm

GuyWithDogs wrote:This makes no sense to me. I tried my project again, adding code to display the version of Flash being used. It showed 9.0.16.0. But t still didn't play the video.

I then opened your sample SWF_Embedding_and_FLV_Embedding into D7, clicked the "Run with Debug" icon, and it worked with no changes.

I'm completely baffled.


SWF_Embedding_and_FLV_Embedding loads movie from resource. Does Sample #1 work well?...

Could you completely remove the component. Then close Delphi, open again and install the component (demo version 3). And tried again with your project...

To all: does anybody have the same problems?
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html

GuyWithDogs
Posts: 11
Joined: Tue Oct 18, 2005 6:38 pm

Postby GuyWithDogs » Thu Oct 26, 2006 7:25 pm

OK - I got it working. Turns out that I didn't have the FlashPlayerControl\Delphi7 directory on my search path. The .dpr in the Samples directory has that, so it worked. When I added the directory to my project, then it works.

What puzzles me is why I got as far as I did without that path. Must be something strange on my system...

Thanks for your help and patience...

Softanics
Site Admin
Posts: 1402
Joined: Sat Sep 18, 2004 3:03 am
Location: Russia, St. Petersburg
Contact:

Postby Softanics » Fri Oct 27, 2006 7:13 am

GuyWithDogs wrote:Thanks for your help and patience...


Thank you!
Best regards, Artem A. Razin,

F-IN-BOX support

Ask your question here: http://www.f-in-box.com/support.html


Return to “Delphi / Builder / VCL Edition”

Who is online

Users browsing this forum: No registered users and 24 guests

cron