Saturday, August 27, 2005

Flash Lite [ 4 ] call( )

We need to use call( ) to substitute for the function( ).

You can write down the ActionScripts in the frame and define the frame label. When you would like to use, just write down,
call("FrameLabel");

If this frame inside a MovieClip which in the scene, use " : " to connect the MovieClip's instance name and frame label. If you would like to trigger this action which isn't in the same level, suggest you use the absoulate path.

In the scene: call("/:Frame Label");
Inside a MovieClip: call("/MovieClipInstanceName:FrameLabel");

Suggest you can create a new scene to put your actions for call, it will easy for debug.

0 Comments:

Post a Comment

<< Home