De-I > getProperty

getProperty

Syntax

getProperty(instancename , property);

Arguments

instancename The instance name of a movie clip for which the property is being retrieved.

property A property of a movie clip, such as an x or y coordinate.

Description

Function; returns the value of the specified property for the movie clip instance.

Player

Flash 4 or later.

Example

The following example retrieves the horizontal axis coordinate (_x) for the movie clip myMovie:

getProperty(_root.myMovie_item._x);