G-L > getProperty

 

getProperty

Availability

Flash Player 4.

Usage

getProperty(instancename , property)

Parameters

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

property A property of a movie clip.

Returns

Nothing.

Description

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

Example

The following example retrieves the horizontal axis coordinate (_x) for the movie clip myMovie and assigns it to the variable myMovieX:

myMovieX = getProperty(_root.myMovie, _x);