Difference between revisions of "MovieClip.new"

From GiderosMobile
(typo)
(removed language stuff)
Line 1: Line 1:
 
__NOTOC__
 
__NOTOC__
<languages />
+
'''Available since:''' Gideros 2011.6<br/>
'''<translate>Available since</translate>:''' Gideros 2011.6<br/>
+
'''Class:''' [[MovieClip]]<br/>
'''<translate>Class</translate>:''' [[Special:MyLanguage/MovieClip|MovieClip]]<br/>
 
  
=== <translate>Description</translate> ===
+
=== Description ===
Creates a new [[Special:MyLanguage/MovieClip|MovieClip]] object. After constructing the MovieClip object, it starts playing. You don't need to call [[MovieClip:play]].
+
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>
  
=== <translate>Parameters</translate> ===
+
=== Parameters ===
'''timeline''': (table) <translate>array of timeline elements</translate> <br/>
+
'''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