Difference between revisions of "MovieClip:setGotoAction"
From GiderosMobile
Line 15: | Line 15: | ||
'''frame''': (int) <translate>the frame number</translate> <br/> | '''frame''': (int) <translate>the frame number</translate> <br/> | ||
'''destframe''': (int) <translate>the destination frame number</translate> <br/> | '''destframe''': (int) <translate>the destination frame number</translate> <br/> | ||
+ | |||
+ | {{MovieClip}} |
Revision as of 22:11, 3 December 2019
Available since: Gideros 2011.6
Class: MovieClip
Description
Sets a *goto* action to the specified frame. When the movie clip reaches a frame
with goto action, it jumps to the destination frame and continues to play.
This function is usually used to create looping animations.
MovieClip:setGotoAction(frame,destframe)
Parameters
frame: (int) the frame number
destframe: (int) the destination frame number