Syntax
spritename.nextFrameAndStop()
Arguments
spritename: 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() {
this.nextFrameAndStop(); // Sprite moves playhead to 2nd Frame and stops
}
See Also
play(), stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndPlay(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().