Difference between revisions of "MovieClip:setStopAction"

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

Revision as of 13:33, 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