skipFrameAndPlay()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
[object.]skipFrameAndPlay(n)

Arguments
object: The name of the Sprite / Movie Clip to be played.
n: The number of Frames to be skipped. If n is negative, moves to previous Frames.

Returns
Nothing.

Description
Action and Sprite Method: Sends the playhead ahead n Frames and plays from that Frame.

Sample
onFrame (5
{
    skipFrameAndPlay(3);  // sprite starts playing from 8th frame
}


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