Layer object
Availability
Flash MX 2004.
Description
The Layer object represents a layer in the timeline. The
an array of Layer objects, which can be accessed by
fl.getDocumentDOM().getTimeline().layers
Property summary for the Layer object
The following properties are available for the Layer object:
Property
Description
A string, hexadecimal value, or integer that specifies the color assigned
layer.color
to outline the layer.
Read-only; an integer that specifies
layer.frameCount
Read-only; an array of Frame objects.
layer.frames
An integer that specifies the percentage layer height; equivalent to the
layer.height
Layer height value in the Layer Properties dialog box.
A string that specifies the current use of the layer; equivalent to the Type
layer.layerType
setting in the Layer Properties dialog box.
A Boolean value that specifies the locked status of the layer.
layer.locked
A string that specifies t
layer.name
A Boolean value that specifies the status of outlines for all objects in
layer.outline
the layer.
A Layer object that represents the layer's containing folder, guiding, or
layer.parentLayer
masking layer.
A Boolean value that specifies whether the layer's objects on the Stage
layer.visible
are shown or hidden.
CHAPTER 24
name of the layer.
he
timeline.layers
.
number of frames in the layer.
the
Objects
property contains
Layer object
305
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?