ActionScript 2.0 Language Reference |
|
|
|
| ActionScript classes > Button > _name (Button._name property) | |||
public _name : String
Instance name of the button specified by my_btn.
Availability: ActionScript 1.0; Flash Player 6
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);
}
}
|
|
|
|