User Guide

TextField._target 925
TextField._target
Availability
Flash Player 6.
Usage
my_txt._target:String
Description
Read-only property; the target path of the text field instance specified by my_txt. The _self
target specifies the current frame in the current window, _blank specifies a new window, _parent
specifies the parent of the current frame, and
_top specifies the top-level frame in the current
window.
Example
The following ActionScript creates a text field called my_txt and outputs the target path of the
new field, in both slash and dot notation.
this.createTextField("my_txt", this.getNextHighestDepth(), 10, 10, 100, 22);
trace(my_txt._target); // output: /my_txt
trace(eval(my_txt._target)); // output: _level0.my_txt