Difference between revisions of "MovieClip.new"
From GiderosMobile
(typo) |
(removed language stuff) |
||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | + | '''Available since:''' Gideros 2011.6<br/> | |
− | ''' | + | '''Class:''' [[MovieClip]]<br/> |
− | ''' | ||
− | === | + | === Description === |
− | Creates a new | + | Creates a new '''MovieClip''' object. After constructing the MovieClip object, it starts playing. You don't need to call [[MovieClip:play]]. |
<source lang="lua"> | <source lang="lua"> | ||
MovieClip.new{timeline} -- *PLEASE NOTICE THE BRACKETS { } INSTEAD OF ( )* | MovieClip.new{timeline} -- *PLEASE NOTICE THE BRACKETS { } INSTEAD OF ( )* | ||
</source> | </source> | ||
− | === | + | === Parameters === |
− | '''timeline''': (table) | + | '''timeline''': (table) array of timeline elements<br/> |
{{MovieClip}} | {{MovieClip}} |
Revision as of 14:25, 22 September 2021
Available since: Gideros 2011.6
Class: MovieClip
Description
Creates a new MovieClip object. After constructing the MovieClip object, it starts playing. You don't need to call MovieClip:play.
MovieClip.new{timeline} -- *PLEASE NOTICE THE BRACKETS { } INSTEAD OF ( )*
Parameters
timeline: (table) array of timeline elements