Adobe Extending Flash Professional CS5 User Manual
Page 83

61
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
A Boolean value that specifies whether the ActionScript 3.0 compiler
should compile with the Strict Mode option turned on or off.
A Boolean value that specifies whether the ActionScript 3.0 compiler
should compile with the Warnings Mode option turned on or off.
An integer that specifies which version of ActionScript is being used in the
specified file.
A Boolean value that is equivalent to the Auto Label check box in the
Accessibility panel.
A string, hexadecimal value, or integer that represents the background
color.
document.currentPublishProfile
A string that specifies the name of the active publish profile for the
specified document.
An integer that specifies the index of the active timeline.
A string that is equivalent to the Description field in the Accessibility
panel.
Specifies the top-level ActionScript 3.0 class associated with the
document.
A string that contains a list of items in the document’s ActionScript 3.0
External library path, which specifies the location of SWC files used as
runtime shared libraries.
A Boolean value that specifies whether the children of the specified object
are accessible.
A float value that specifies the number of frames displayed per second
when the SWF file plays; the default is 12.
An integer that specifies the height of the document (Stage) in pixels.
A unique integer (assigned automatically) that identifies a document
during a Flash session.
A string that contains a list of items in the document’s ActionScript 3.0
Library path, which specifies the location of SWC files or folders containing
SWC files.
A Boolean value that specifies whether Live Preview is enabled.
Read-only; a string that represents the name of a document (FLA file).
Read-only; a string that represents the path of the document, in a
platform-specific format.
Read-only; a string that represents the path of the document, expressed as
a file:/// URI.
Read-only; an array of the publish profile names for the document.
Read-only; the current ScreenOutline object for the document. The
ScreenOutline object is deprecated beginning with Flash Professional
CS5.
An array of the selected objects in the document.
A Boolean value that specifies whether the object is accessible.
Property
Description