Table of Contents

TextField._parent Property Flash 6read/write (write has no meaningful effect)

a reference to the movie clip in which the text field resides
theField._parent

Description

The _parent property is an object reference to the movie clip that contains theField. For example, if we have a text field named title_txt in a clip named mainSection_mc, then title_txt._parent refers to mainSection_mc. Compared to its cousin, MovieClip._parent, TextField._parent is rarely used, but it may occasionally be handy when working with text fields grouped in separate movie clips.

Usage

Though it is possible to reassign the _parent property to another clip (or any other value), doing so has little purpose�only the reference is changed, not the physical hierarchy of the clip and text field.

See Also

MovieClip._parent, TextField._name


Table of Contents