MovieClip:setGotoAction: Difference between revisions

From GiderosMobile
No edit summary
No edit summary
Line 1: Line 1:
__NOTOC__
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/MovieClip|MovieClip]]<br/>
=== <translate>Description</translate> ===
=== <translate>Description</translate> ===
<translate><br />
<translate><br />

Revision as of 08:27, 24 August 2018

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