Document.arrange(), Document.as3autodeclare – Adobe Extending Flash Professional CS5 User Manual
Page 95
73
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
if(fl.getDocumentDOM().allowScreens()) {
fl.trace("screen outline is available.");
}
else {
fl.trace("whoops, no screens.");
}
See also
document.arrange()
Availability
Flash MX 2004.
Usage
document.arrange(arrangeMode)
Parameters
arrangeMode
Specifies the direction in which to move the selection. Acceptable values are
"back"
,
"backward"
,
"forward"
, and
"front"
. It provides the same capabilities as these options provide on the Modify > Arrange menu.
Returns
Nothing.
Description
Method; arranges the selection on the Stage. This method applies only to non-shape objects.
Example
The following example moves the current selection to the front:
fl.getDocumentDOM().arrange("front");
document.as3AutoDeclare
Availability
Flash CS3 Professional.
Usage
document.as3AutoDeclare
Description
Property; a Boolean value that describes whether the instances placed on the Stage are automatically added to user-
defined timeline classes. The default value is
true.