Extending Flash |
|
|
|
| Objects > Layer object > layer.name | |||
Flash MX 2004.
layer.name
Property; a string that specifies the name of the layer.
The following example sets the name of the first layer in the current document to "foreground":
fl.getDocumentDOM().getTimeline().layers[0].name = "foreground";
|
|
|
|