MovieClip:setStopAction
From GiderosMobile
Available since: Gideros 2011.6
Class: MovieClip
Description
Sets a stop action to the specified frame. <syntaxhighlight lang="lua"> MovieClip:setStopAction(frame) </source>
When the movie clip reaches a frame with a stop action, it stops playing.
This function is usually used to divide the animation into independent parts.
Parameters
frame: (int) the frame number