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()