De-I > gotoAndPlay
gotoAndPlaySyntax
gotoAndPlay(
scene, frame
);
Arguments
scene
The scene name to which the playhead is sent.
frame
The frame number to which the playhead is sent.
Description
Action; sends the playhead to the specified frame in a scene and plays from that frame. If no scene is specified, the playhead goes to the specified frame in the current scene.
Player
Flash 2 or later.
Example
When the user clicks a button that the gotoAndPlay
action is assigned to, the playhead is sent to frame 16 and starts to play.
on(release) { gotoAndPlay(16); }