MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 81

Extending flash
Table of Contents

Advertisement

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
Output panel:
var isAutoLabel = fl.getDocumentDOM().autoLabel;
fl.trace(isAutoLabel);
The following example sets the
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
A hexadecimal number in the format
An integer that represents the decimal equivalent of a hexadecimal number
autoLabel
property to
autoLabel
or
"#RRGGBB"
"#RRGGBBAA"
0xRRGGBB
property and displays the result in the
, telling Flash to automatically
true
Document object
81

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents