Flash Player 4.
my_mc._target:String
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.
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));
}
}
Send me an e-mail when comments are added to this page | Comment Report
Current page: http://livedocs.adobe.com/flash/mx2004/main_7_2/00001560.html