Syntax
spritename.nextFrameAndPlay()
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 plays from that Frame.
Sample
onLoad() {
this.nextFrameAndPlay(); // Sprite starts playing from second Frame
}
See Also
play(), stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop(), skipFrameAndPlay() and skipFrameAndStop().