MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 308

Extending flash
Table of Contents

Advertisement

Example
The following example stores the percentage value of the first layer's height setting:
var layerHeight = fl.getDocumentDOM().getTimeline().layers[0].height;
The following example sets the height of the first layer to 300 percent:
fl.getDocumentDOM().getTimeline().layers[0].height = 300;
layer.layerType
Availability
Flash MX 2004.
Usage
layer.layerType
Description
Property; a string that specifies the current use of the layer; equivalent to the Type setting in
the Layer Properties dialog box. Acceptable values are
,
, and
"mask"
"masked"
Example
The following example sets the first layer in the timeline to type
fl.getDocumentDOM().getTimeline().layers[0].layerType = "folder";
layer.locked
Availability
Flash MX 2004.
Usage
layer.locked
Description
Property; a Boolean value that specifies the locked status of the layer. If set to
locked. The default value is
308
Objects
.
"folder"
.
false
,
,
"normal"
"guide"
:
"folder"
,
"guided"
, the layer is
true

Hide quick links:

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?

This manual is also suitable for:

Flash 8

Table of Contents