EasyManua.ls Logo

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT - Page 393

MACROMEDIA FLASH MX 2004 - ACTIONSCRIPT
816 pages
Print Icon
To Next Page IconTo Next Page
To Next Page IconTo Next Page
To Previous Page IconTo Previous Page
To Previous Page IconTo Previous Page
Loading...
getTimer 393
See also
Object.addProperty(), set
getProperty
Availability
Flash Player 4.
Usage
getProperty(my_mc, property)
Parameters
my_mc
The instance name of a movie clip for which the property is being retrieved.
property A property of a movie clip.
Returns
The value of the specified property.
Description
Function; returns the value of the specified property for the movie clip my_mc.
Example
The following example retrieves the horizontal axis coordinate (_x) for the movie clip my_mc and
assigns it to the variable
my_mc_x:
my_mc_x = getProperty(_root.my_mc, _x);
getTimer
Availability
Flash Player 4.
Usage
getTimer()
Parameters
None.
Returns
The number of milliseconds that have elapsed since the SWF file started playing.
Description
Function; returns the number of milliseconds that have elapsed since the SWF file started playing.

Table of Contents

Related product manuals