Play/Stop a MovieClip

play/stop

play and stop methods play/stop the timeline of MovieClip, and since the timeline of MovieClip is independent, they play/stop only one timeline and do not affect the parent, child, etc. timelines.

gotoAndPlay/gotoAndStop

gotoAndPlay and gotoAndStop methods move the MovieClip's playhead to the specified frame and play/stop it.

nextFrame/prevFrame

nextFrame method moves from the current frame to the next frame, and the prevFrame method moves from the current frame to the previous frame and stops.

Example

Next Chapter