Difference between revisions of "MovieClip:setReverseAction"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2018.3<br/>
+
'''<translate>Available since</translate>:''' Gideros 2018.3<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><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 />
Line 9: Line 9:
 
  MovieClip:setReverseAction(frame)
 
  MovieClip:setReverseAction(frame)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''frame''': (int) <translate>the frame number</translate> <br/>
 
'''frame''': (int) <translate>the frame number</translate> <br/>

Revision as of 07:26, 24 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