Syntax
spritename.skipFrameAndStop(n)
Arguments
spritename: 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) {
this.skipFrameAndStop(3); // moves the playhead to the 8th frame.
}
See Also
play(), stop(), gotoAndPlay(), gotoAndStop(), gotoSceneAndPlay(), gotoSceneAndStop(), nextFrameAndPlay(), nextFrameAndStop(), prevFrameAndPlay(), prevFrameAndStop() and skipFrameAndPlay().