Difference between revisions of "MovieClip:setReverseAction"

From GiderosMobile
Line 2: Line 2:
 
'''Available since:''' Gideros 2018.3<br/>
 
'''Available since:''' Gideros 2018.3<br/>
 
=== Description ===
 
=== Description ===
<br />
+
<translate><br />
 
Sets a *reverse* action to the specified frame. When the movie clip reaches a frame <br />
 
Sets a *reverse* action to the specified frame. When the movie clip reaches a frame <br />
 
with reverse action, it changes playing direction. This function is can be used to create back and forth animations, even endless.
 
with reverse action, it changes playing direction. This function is can be used to create back and forth animations, even endless.
<br />
+
<br /></translate>
 
<source lang="lua">
 
<source lang="lua">
 
  MovieClip:setReverseAction(frame)
 
  MovieClip:setReverseAction(frame)
 
</source>
 
</source>
 
=== Parameters ===
 
=== Parameters ===
'''frame''': (int) the frame number <br/>
+
'''frame''': (int) <translate>the frame number</translate> <br/>

Revision as of 13:32, 23 August 2018

Available since: Gideros 2018.3

Description


Sets a *reverse* action to the specified frame. When the movie clip reaches a frame
with reverse action, it changes playing direction. This function is can be used to create back and forth animations, even endless.

 MovieClip:setReverseAction(frame)

Parameters

frame: (int) the frame number