Active-x control using TFlashPlayerControl

F-IN-BOX for Delphi / Builder C++ / VCL
shalesh
Posts: 1
Joined: Wed May 30, 2007 7:33 am
Contact:

Active-x control using TFlashPlayerControl

Postby shalesh » Wed May 30, 2007 11:50 am

Is it possible to share some sample Delphi code to create Active-x control using TFlashPlayerControl?

Basically i need to create an active-x control using Delphi7 which can serve .swf files on web page of my web site.

Please reply asap as it is very urgent :idea:

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

Postby Softanics » Wed May 30, 2007 12:52 pm

Thank you for your question.

Just create an ActiveForm and place TFlashPlayerControl to it, then set align = alClinet.

Please write me if you need more assistance.
Best regards, Artem A. Razin,
F-IN-BOX support
Ask your question here: http://www.f-in-box.com/support.html

dvnelson72
Posts: 2
Joined: Wed Jun 25, 2008 5:01 am

Postby dvnelson72 » Wed Jun 25, 2008 5:05 am

Softanics wrote:Thank you for your question.

Just create an ActiveForm and place TFlashPlayerControl to it, then set align = alClinet.

Please write me if you need more assistance.


I'm trying to do the same thing and I'm finding that no onFSCommand events get triggered when embedded in an ActiveForm. It works as expected in an application though. Any thoughts?

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

Postby Softanics » Wed Jun 25, 2008 6:16 am

Thank you for your question.

dvnelson72 wrote:I'm trying to do the same thing and I'm finding that no onFSCommand events get triggered when embedded in an ActiveForm. It works as expected in an application though. Any thoughts?


It's a common problem, with native flash events:
http://www.f-in-box.com/forum/viewtopic.php?t=473
http://www.f-in-box.com/forum/viewtopic.php?t=153

Still no sulution.
Best regards, Artem A. Razin,

F-IN-BOX support

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

dvnelson72
Posts: 2
Joined: Wed Jun 25, 2008 5:01 am

Postby dvnelson72 » Wed Jun 25, 2008 6:58 am

thanks for the info.

I'm guessing the only solution is to use a thread to monitor a variable from the flash swf.

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

Postby Softanics » Wed Jun 25, 2008 2:59 pm

Yes, good idea!
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 12 guests

cron