Difference between revisions of "MovieClip:setStopAction"

From GiderosMobile
Line 14: Line 14:
 
=== <translate>Parameters</translate> ===
 
=== <translate>Parameters</translate> ===
 
'''frame''': (int) <translate>the frame number</translate> <br/>
 
'''frame''': (int) <translate>the frame number</translate> <br/>
 +
 +
{{MovieClip}}

Revision as of 22:12, 3 December 2019


Available since: Gideros 2011.6
Class: MovieClip

Description


Sets a *stop* action to the specified frame. When the movie clip reaches a frame
with stop action, it stops playing. This function is usually used to divide
the animation into independent parts.

 MovieClip:setStopAction(frame)

Parameters

frame: (int) the frame number