Difference between revisions of "MovieClip:setStopAction"

From GiderosMobile
Line 10: Line 10:
 
  MovieClip:setStopAction(frame)
 
  MovieClip:setStopAction(frame)
 
</source>
 
</source>
'''frame''': (int) the frame number ''''''<br/>
+
=== Parameters ===
 +
'''frame''': (int) the frame number <br/>

Revision as of 11:44, 23 August 2018

Available since: Gideros 2011.6

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