|
|
timeline.currentLayer
AvailabilityFlash
MX 2004.
Usagetimeline.currentLayer
DescriptionProperty;
the zero-based index for the currently active layer. A value of
0 specifies the top layer, a value of 1 specifies the layer below
it, and so on.
ExampleThe
following example makes the top layer active:
fl.getDocumentDOM().getTimeline().currentLayer = 0;
The
following example stores the index of the currently active layer
in the curLayer variable:
var curLayer = fl.getDocumentDOM().getTimeline().currentLayer;
|