Difference between revisions of "MovieClip:setReverseAction"

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

Revision as of 10:38, 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