nextFrameAndStop()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
[object.]nextFrameAndStop()

Arguments
object: The name of the Sprite / Movie Clip to be played.

Returns
Nothing.

Description
Action and Sprite Method: Sends the playhead to the next Frame in a Scene and stops at that Frame.

Sample
onLoad() {
    nextFrameAndStop();
 // Sprite moves playhead to 2nd Frame and stops
}


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