Layer.height; Layer.layertype; Layer.locked - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

}
}

layer.height

Availability
Flash MX 2004.
Usage
layer.height
Description
Property; an integer that specifies the percentage layer height; equivalent to the Layer height value
in the Layer Properties dialog box. Acceptable values represent percentages of the default height:
100, 200, or 300.
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
,
"masked"
"folder"
Example
The following example sets the first layer in the Timeline to type "folder":
fl.getDocumentDOM().getTimeline().layers[0].layerType = "folder";

layer.locked

Availability
Flash MX 2004.
Usage
layer.locked
210
Chapter 3: Objects
.
,
,
"normal"
"guide"
"guided"
,
,
"mask"

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents