Extending Flash |
|
|
|
| Objects > Element object > element.layer | |||
Flash 8.
element.layer
Read-only property; represents the Layer object on which the element is located.
The following example stores the Layer object that contains the element in the theLayer variable:
var theLayer = element.layer;
|
|
|
|