Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > call() | |||
Flash Lite 1.0.
call(frame)call(movieClipInstance:frame)
frame The label or number of a frame in the timeline.
movieClipInstance The instance name of a movie clip.
Function; executes the script in the called frame without moving the playhead to that frame. Local variables do not exist after the script executes. The call() function can take two possible forms:
call() function was executed, without moving the playhead to that frame.|
NOTE |
The |
The following examples execute the script in the myScript frame:
// to execute functions in frame with label "myScript"
thisFrame = "myScript";
trace ("Calling the script in frame: " add thisFrame);
// to execute functions in any other frame on the same timeline
call("myScript");
|
|
|
|