Difference between revisions of "MovieClip:gotoAndPlay"

From GiderosMobile
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[MovieClip]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/MovieClip|MovieClip]]<br/>
+
 
=== <translate>Description</translate> ===
+
=== Description ===
<translate><br />
+
Goes to the specified frame and starts playing.
Goes to the specified frame and starts playing.<br />
 
<br /></translate>
 
 
<source lang="lua">
 
<source lang="lua">
MovieClip:gotoAndPlay(frame,reverse)
+
MovieClip:gotoAndPlay(frame,reverse)
 
</source>
 
</source>
=== <translate>Parameters</translate> ===
+
 
'''frame''': (int) <translate>the frame number</translate> <br/>
+
=== Parameters ===
'''reverse''': (boolean) <translate>indicates to play backwards</translate> <br/>
+
'''frame''': (int) the frame number<br/>
 +
'''reverse''': (boolean) indicates to play backwards<br/>
  
 
{{MovieClip}}
 
{{MovieClip}}

Revision as of 21:52, 24 April 2022

Available since: Gideros 2011.6
Class: MovieClip

Description

Goes to the specified frame and starts playing.

MovieClip:gotoAndPlay(frame,reverse)

Parameters

frame: (int) the frame number
reverse: (boolean) indicates to play backwards