SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
[object.]gotoAndStop(frame / label)
Arguments
object: The name of the Sprite / Movie Clip to be played.
frame: The Frame number or label to which the playhead is sent.
Returns
Nothing.
Description
Action and Sprite Method: Sends the playhead to the specified Frame in a Scene and stops at that Frame.
Sample
onLoad() {
gotoAndStop(16); // Sprite goes to Frame 16 and stops.
}
See Also
play(), stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndPlay(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().