![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 5.
my_mc
._parent.property
_parent.property
Property; a reference to the movie clip or object that contains the current movie clip or object. The current object is the object containing the ActionScript code that references _parent
. Use the _parent
property to specify a relative path to movie clips or objects that are above the current movie clip or object.
You can use _parent
to climb up multiple levels in the display list as in the following:
_parent._parent._alpha = 20;
Button._parent
, _root
, targetPath
, TextField._parent
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |