![]() ![]() ![]() | |
![]() | |
![]() | |
![]() |
Flash Player 5.
_parent.property
_parent._parent.property
Identifier; specifies or returns 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 _parent
to specify a relative path to movie clips or objects that are above the current movie clip or object.
In the following example, the movie clip desk
is a child of the movie clip classroom
. When the following script executes inside the movie clip desk
, the playhead will jump to Frame 10 in the Timeline of the movie clip classroom
.
_parent.gotoAndStop(10);
![]() | |
![]() | |
![]() | |
![]() ![]() ![]() |