Adobe Extending Flash Professional CS4 User Manual
Page 84
62
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Property
Description
A string that is equivalent to the Name field in the Accessibility panel.
A Boolean value that describes whether the instances placed on the Stage
are automatically added to user-defined timeline classes.
A string that describes the ActionScript 3.0 “dialect” being used in the
specified document.
An integer that specifies in which frame to export ActionScript 3.0 classes.
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.