|
|||
|
You can do this in two ways:
1. Call the FlashPlayer.targetCallFrame or FlashPlayer.targetCallLabel method. Both these two methods run the Action script in a specified frame in your swf movie. e. g. Code:
FlashPlayer.targetCallLabel("_root", "myframe");
i) add a "Trigger" component into your swf movie and name it "trigger" ii) add a handler function for the trigger component Code:
function onTriggered(arg)
{
//arg should be "hello"
prueba();
}
trigger.addHandler(onTriggered);
Code:
FlashPlayer.setVariable("trigger.fArg", "hello");
|
![]() |
Was this information helpful? Yes No
| Thread Tools | |
| Display Modes | |
|
|