Flash Lite 2.x and 3.0 ActionScript Language Reference

call function

call(frame)

Deprecated since Flash Player 5. This action was deprecated in favor of the function statement.

Executes the script in the called frame without moving the playhead to that frame. Local variables do not exist after the script executes.

  • If variables are not declared inside a block ({}) but the action list was executed with a call() action, the variables are local and expire at the end of the current list.
  • If variables are not declared inside a block and the current action list was not executed with the call() action, the variables are interpreted as Timeline variables.

Parameters

frame:Object - The label or number of a frame in the Timeline.

See also

Array function, call (Function.call method)