Difference between revisions of "MovieClip:setReverseAction"
From GiderosMobile
Line 13: | Line 13: | ||
=== <translate>Parameters</translate> === | === <translate>Parameters</translate> === | ||
'''frame''': (int) <translate>the frame number</translate> <br/> | '''frame''': (int) <translate>the frame number</translate> <br/> | ||
+ | |||
+ | {{MovieClip}} |
Revision as of 22:11, 3 December 2019
Available since: Gideros 2018.3
Class: MovieClip
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