EasyManua.ls Logo

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE - Getproperty(); Gettimer()

MACROMEDIA FLASH 8-FLASH LITE 1.X ACTIONSCRIPT LANGUAGE
162 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() 15
getProperty()
Availability
Flash Lite 1.0.
Usage
getProperty(my_mc, property)
Operands
my_mc The instance name of a movie clip for which the property is being retrieved.
property A property of a movie clip.
Description
Function; returns the value of the specified property for the my_mc movie clip.
Example
The following example retrieves the horizontal axis coordinate (_x) for the my_mc movie clip
in the root movie timeline:
xPos = getProperty("person_mc", _x);
trace (xPos); // output: -75
See also
setProperty()
getTimer()
Availability
Flash Lite 1.0.
Usage
getTimer()
Operands
None.
Description
Function; returns the number of milliseconds that elapsed since the SWF file started playing.

Table of Contents

Related product manuals