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