Page 1 of 1

Delphi action callframe

Posted: Sat Oct 25, 2008 11:50 am
by ArtInTech
Hello, guys, I wonder how this sample work, I am starting to flash but with little baggage in the delphi, but I can not put the example of the topic for work.

http://www.flashplayercontrol.com/forum ... c.php?t=62

What I have difficulty is to draw a frame within layers.
Example: with the delphi, click a button and an active flash button within it that I did not pass the mouse over. If you click the delphi. the flash receives the command.

It's like the fscommand to the contrary.
When you do that in Delphi 5 and Flashplayercontrol, is an error message.

what can I do?

Re: Delphi action callframe

Posted: Sun Oct 26, 2008 11:13 am
by Softanics
Thank you for your question.

ArtInTech wrote:It's like the fscommand to the contrary.
When you do that in Delphi 5 and Flashplayercontrol, is an error message.


What's error?

Thank you.

Posted: Mon Oct 27, 2008 11:16 am
by ArtInTech
Thank you for interest.

This weekend I discovered my mistake: I called the wrong command of FlashPlayerControl, asked the CallFunction thinking that used to run a command of flash.

But the question remains:
Within a flash-animation, I have another animation with the name "Sprite 20", I want to know if this gives you active animation through Delphi before I mouse over the flash.

Posted: Mon Oct 27, 2008 6:12 pm
by Softanics
ArtInTech wrote:But the question remains:
Within a flash-animation, I have another animation with the name "Sprite 20", I want to know if this gives you active animation through Delphi before I mouse over the flash.


ArtInTech wrote:Example: with the delphi, click a button and an active flash button within it that I did not pass the mouse over. If you click the delphi. the flash receives the command.


In other words, you would like to receive a command from Delphi and handle it in a flash movie, right?

The solution is to use External API:
http://www.f-in-box.com/delphi/#feature_external_api

Thank you.