Difference between revisions of "MovieClip:setGotoAction"

From GiderosMobile
Line 10: Line 10:
 
  MovieClip:setGotoAction(frame,destframe)
 
  MovieClip:setGotoAction(frame,destframe)
 
</source>
 
</source>
'''frame''': (int) the frame number ''''''<br/>
+
=== Parameters ===
'''destframe''': (int) the destination frame number ''''''<br/>
+
'''frame''': (int) the frame number <br/>
 +
'''destframe''': (int) the destination frame number <br/>

Revision as of 10:41, 23 August 2018

Available since: Gideros 2011.6

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