Document object
81
Example
The following example moves the current selection to the front:
fl.getDocumentDOM().arrange("front");
document.autoLabel
Availability
Flash MX 2004.
Usage
document.autoLabel
Description
Property; a Boolean value that is equivalent to the Auto Label check box in the Accessibility
panel. You can use this property to tell Flash to automatically label objects on the Stage with
the text associated with them.
Example
The following example gets the value of the
autoLabel
property and displays the result in the
Output panel:
var isAutoLabel = fl.getDocumentDOM().autoLabel;
fl.trace(isAutoLabel);
The following example sets the
autoLabel
property to
true
, telling Flash to automatically
label objects on the Stage:
fl.getDocumentDOM().autoLabel = true;
document.backgroundColor
Availability
Flash MX 2004.
Usage
document.backgroundColor
Description
Property; the color of the background, 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
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...