MovieClip:setStopAction

From GiderosMobile
Revision as of 15:31, 13 July 2023 by Hgy29 (talk | contribs) (Text replacement - "</source>" to "</syntaxhighlight>")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2011.6
Class: MovieClip

Description

Sets a stop action to the specified frame.

MovieClip:setStopAction(frame)

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