Layer object
Availability
Flash MX 2004.
Description
The Layer object represents a layer in the Timeline. The
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
layer.color
layer.frameCount
layer.frames
layer.height
layer.layerType
layer.locked
layer.name
layer.outline
layer.parentLayer
layer.visible
layer.color
Availability
Flash MX 2004.
Usage
layer.color
Description
Property; a string that specifies the color assigned to outline the layer; equivalent to the Outline
color setting in the Layer Properties dialog box. Specified in hexadecimal #rrggbb format (where
r is red, g is green, and b is blue), a hexidecimal color value (such as 0xFF0000), or an integer
color value.
208
Chapter 3: Objects
Description
Property; a string that specifies the color assigned to outline the layer.
Read-only; an integer that specifies
Read-only; an array of Frame objects.
Property; an integer that specifies the percentage layer height; equivalent to the
Layer height value in the Layer Properties dialog box.
Property; a string that specifies the current use of the layer; equivalent to the
Type setting in the Layer Properties dialog box.
Property; a Boolean value that specifies the locked status of the layer.
Property; a string that specifies t
Property; a Boolean value that specifies the status of outlines for all objects on
the layer.
Property; a Layer object that represents the layer's containing folder, guiding, or
masking layer.
Property; a Boolean value that specifies whether the layer's objects on the
Stage are shown or hidden.
timeline.layers
.
the
number of frames in the layer.
he
name of the layer.
CHAPTER 3
Objects
property contains an
Need help?
Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?