Document.allowscreens(); Document.arrange() - 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

Example
The following example aligns objects to left and to the Stage. This is equivalent to turning on the
To Stage setting in the Align panel and clicking the Align to Left button:
fl.getDocumentDOM().align("left", true);

document.allowScreens()

Availability
Flash MX 2004.
Usage
document.allowScreens()
Parameters
None.
Returns
Returns a Boolean value:
Description
Method; Used before using the
value
, you can safely access the
true
access the
screenOutline
Example
The following example determines whether
document:
if(fl.getDocumentDOM().allowScreens()) {
fl.trace("screen outline is available.");
}
else {
fl.trace("whoops, no screens.");
}

document.arrange()

Availability
Flash MX 2004.
Usage
document.arrange( arrangeMode )
Parameters
arrangeMode
are
arrangemode
capabilities as these options provide on the Modify >Arrange menu.
72
Chapter 3: Objects
if
true
dom.screenOutline
document.screenOutline
screenOutline
property in a document without screens.
Specifies the direction in which to move the selection. The valid values for
,
"back"
"backward"
can be used safely;
property. If this method returns the
property. Flash displays an error if you
methods can be used in the current
screens
,
, and
"forward"
"front"
otherwise.
false
. It provides the same

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?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents