Chapter 25: layer object, Layer.color, Layer object – Adobe Extending Flash Professional CS4 User Manual
Page 328: On which the element is located, Read-only property; represents the, Values; they are equivalent to the
306
Chapter 25: Layer object
Availability
Flash MX 2004.
Description
The Layer object represents a layer in the timeline. The
property contains an array of Layer objects,
which can be accessed by
fl.getDocumentDOM().getTimeline().layers
.
Property summary
The following properties are available for the Layer object:
layer.color
Availability
Flash MX 2004.
Usage
layer.color
Description
Property; the color assigned to outline the layer, in one of the following formats:
•
A string in the format
"#RRGGBB"
or
"#RRGGBBAA"
•
A hexadecimal number in the format
0xRRGGBB
•
An integer that represents the decimal equivalent of a hexadecimal number
This property is equivalent to the Outline color setting in the Layer Properties dialog box.
Property
Description
A string, hexadecimal value, or integer that specifies the color assigned to outline the layer.
Read-only; an integer that specifies the number of frames in the layer.
Read-only; an array of Frame objects.
An integer that specifies the percentage layer height; equivalent to the Layer height value in the
Layer Properties dialog box.
A string that specifies the current use of the layer; equivalent to the Type setting in the Layer
Properties dialog box.
A Boolean value that specifies the locked status of the layer.
A string that specifies the name of the layer.
A Boolean value that specifies the status of outlines for all objects in the layer.
A Layer object that represents the layer’s containing folder, guiding, or masking layer.
A Boolean value that specifies whether the layer’s objects on the Stage are shown or hidden.