User Guide

586 Chapter 2: ActionScript Language Reference
MovieClip._target
Availability
Flash Player 4.
Usage
my_mc._target:String
Description
Read-only property; returns the target path of the movie clip instance specified by my_mc in slash
notation. Use the
eval() function to convert the target path to dot notation.
Example
The following example displays the target paths of movie clip instances in a SWF file, in both
slash and dot notation.
for (var i in this) {
if (typeof (this[i]) == "movieclip") {
trace("name: "+this[i]._name+",\t target: "+this[i]._target+",\t
target(2): "+eval(this[i]._target));
}
}