A-C > Button._parent

 

Button._parent

Availability

Flash Player 6.

Usage

_parent.property

Description

Property; specifies or returns a reference to the movie clip or object that contains the current movie clip or object. The current object is the one 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. You can use _parent to climb up multiple levels in the display list as in the following:

_parent._parent._alpha = 20;

See also

_root, targetPath