Difference between revisions of "MovieClip:gotoAndPlay"
From GiderosMobile
| Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
| − | + | '''Available since:''' Gideros 2011.6<br/> | |
| − | ''' | + | '''Class:''' [[MovieClip]]<br/> |
| − | ''' | + | |
| − | === | + | === Description === |
| − | + | Goes to the specified frame and starts playing. | |
| − | Goes to the specified frame and starts playing. | ||
| − | |||
<source lang="lua"> | <source lang="lua"> | ||
| − | + | MovieClip:gotoAndPlay(frame,reverse) | |
</source> | </source> | ||
| − | === | + | |
| − | '''frame''': (int) | + | === Parameters === |
| − | '''reverse''': (boolean) | + | '''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