Difference between revisions of "MovieClip:gotoAndPlay"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(2 intermediate revisions by 2 users not shown)
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 />
+
<syntaxhighlight lang="lua">
<br /></translate>
+
MovieClip:gotoAndPlay(frame,reverse)
<source lang="lua">
+
</syntaxhighlight>
MovieClip:gotoAndPlay(frame,reverse)
+
 
</source>
+
=== Parameters ===
=== <translate>Parameters</translate> ===
+
'''frame''': (int) the frame number<br/>
'''frame''': (int) <translate>the frame number</translate> <br/>
+
'''reverse''': (boolean) indicates to play backwards<br/>
'''reverse''': (boolean) <translate>indicates to play backwards</translate> <br/>
 
  
 
{{MovieClip}}
 
{{MovieClip}}

Latest revision as of 14:30, 13 July 2023

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