Difference between revisions of "MovieClip:gotoAndPlay"
From GiderosMobile
m (Text replacement - "</source>" to "</syntaxhighlight>") |
|||
(One intermediate revision by the same user not shown) | |||
Line 5: | Line 5: | ||
=== 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) | MovieClip:gotoAndPlay(frame,reverse) | ||
− | </ | + | </syntaxhighlight> |
=== Parameters === | === Parameters === |
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