Flash Lite 2.x and 3.0 ActionScript Language Reference

_target (MovieClip._target property)

public _target : String [read-only]

Returns the target path of the movie clip instance, 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));
    }
}