Flash Lite 2.x and 3.0 ActionScript Language Reference

_name (Button._name property)

public _name : String

Instance name of the button specified by my_btn.

Example

The following example traces all instance names of any Button instances within the current Timeline of a SWF file.

for (i in this) {
    if (this[i] instanceof Button) {
    trace(this[i]._name);
    }
}