Difference between revisions of "MovieClip:setGotoAction"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''Available since:''' Gideros 2011.6<br/>
+
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
=== Description ===
+
=== <translate>Description</translate> ===
 
<translate><br />
 
<translate><br />
 
Sets a *goto* action to the specified frame. When the movie clip reaches a frame <br />
 
Sets a *goto* action to the specified frame. When the movie clip reaches a frame <br />
Line 10: Line 10:
 
  MovieClip:setGotoAction(frame,destframe)
 
  MovieClip:setGotoAction(frame,destframe)
 
</source>
 
</source>
=== Parameters ===
+
=== <translate>Parameters</translate> ===
 
'''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/>

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