skipFrameAndStop()
Top  Previous  Next


SWiSH Player Support
SWF4 or later - Supported Internally

Syntax
[object.]skipFrameAndStop(n)

Arguments
object: The name of the Sprite / Movie Clip to be moved.
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 stops at that Frame.

Sample
onFrame (5
{
    skipFrameAndStop(3);  // moves the playhead to the 8th frame.
}


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