SWiSH Player Support
SWF4 or later - Supported Internally
Syntax
[instance.]getProperty([instancename ,] property)
Arguments
instancename: The instance name of a Movie Clip for which the property is being retrieved. This can either be the Instance name (using slash notation) or the _target property. If omitted, the Instance is specified by instance. if instance is omitted, defaults to 'this'.
property: A property of a Sprite / Movie Clip.
Returns
The specified property value.
Description
Function: Returns the value of the specified property for the Movie Clip instancename.
Sample
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._target, _x);
myMovieX = getProperty("/myMovie", _x);
myMovieX = _root.myMovie.getProperty(_x);
See Also
getProperty() and setProperty().