Difference between revisions of "MovieClip:gotoAndPlay"

From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>")
 
(5 intermediate revisions by 2 users not shown)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Available since:''' Gideros 2011.6<br/>
=== <translate>Description</translate> ===
+
'''Class:''' [[MovieClip]]<br/>
<translate><br />
+
 
Goes to the specified frame and starts playing.<br />
+
=== Description ===
<br /></translate>
+
Goes to the specified frame and starts playing.
<source lang="lua">
+
<syntaxhighlight lang="lua">
MovieClip:gotoAndPlay(frame,reverse)
+
MovieClip:gotoAndPlay(frame,reverse)
</source>
+
</syntaxhighlight>
=== <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}}

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