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
target specifies the current frame in the current window,
specifies the parent of the current frame, and
window.
Example
The following ActionScript creates a text field called
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
specifies a new window,
_blank
specifies the top-level frame in the current
_top
and outputs the target path of the
my_txt
The
my_txt.
_self
_parent
TextField._target
925
Need help?
Do you have a question about the FLASH MX 2004-ACTIONSCRIPT LANGUAGE and is the answer not in the manual?