Difference between revisions of "MovieClip:gotoAndPlay"
From GiderosMobile
(Created page with "__NOTOC__ '''Available since:''' Gideros 2011.6<br/> === Description === <br /> Goes to the specified frame and starts playing.<br /> <br /> <source lang="lua"> = MovieClip:go...") |
m (Text replacement - "</source>" to "</syntaxhighlight>") |
||
(9 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
'''Available since:''' Gideros 2011.6<br/> | '''Available since:''' Gideros 2011.6<br/> | ||
+ | '''Class:''' [[MovieClip]]<br/> | ||
+ | |||
=== Description === | === Description === | ||
− | + | Goes to the specified frame and starts playing. | |
− | Goes to the specified frame and starts playing. | + | <syntaxhighlight lang="lua"> |
− | + | MovieClip:gotoAndPlay(frame,reverse) | |
− | < | + | </syntaxhighlight> |
− | + | ||
− | </ | + | === Parameters === |
− | '''frame | + | '''frame''': (int) the frame number<br/> |
− | '''reverse | + | '''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