nextFrameAndPlay()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
[object.]nextFrameAndPlay()

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 plays from that Frame.

Sample
onLoad() {
    nextFrameAndPlay();  // Sprite starts playing from second Frame
}


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