Flash Lite 1.x ActionScript Language Reference |
|
|
|
| Flash Lite Global Functions > getProperty() | |||
Flash Lite 1.0.
getProperty(my_mc,property)
my_mc The instance name of a movie clip for which the property is being retrieved.
property A property of a movie clip.
Function; returns the value of the specified property for the my_mc movie clip.
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
|
|
|
|