gotoSceneAndStop(scene, frame)
Top  Previous  Next


Syntax
gotoSceneAndStop(scene, frame)

Arguments
scene: The Scene name to which the playhead is sent. This can also be a Scene name synonym.
frame: The Frame number or label to which the playhead is sent.

Returns

Nothing.

Description

Action: Sends the playhead to the specified Frame in a Scene and stops at that Frame. If no Scene is specified, the playhead goes to the specified Frame in the current Scene.

Sample

onLoad() {
   gotoSceneAndStop("Scene_2", 16);
}


See Also
play(), stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndPlay(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().