
61
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
document.as3StrictMode A Boolean value that specifies whether the ActionScript 3.0 compiler
should compile with the Strict Mode option turned on or off.
document.as3WarningsMode A Boolean value that specifies whether the ActionScript 3.0 compiler
should compile with the Warnings Mode option turned on or off.
document.asVersion An integer that specifies which version of ActionScript is being used in the
specified file.
document.autoLabel A Boolean value that is equivalent to the Auto Label check box in the
Accessibility panel.
document.backgroundColor 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.
document.currentTimeline An integer that specifies the index of the active timeline.
document.description A string that is equivalent to the Description field in the Accessibility
panel.
document.docClass Specifies the top-level ActionScript 3.0 class associated with the
document.
document.externalLibraryPath 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.
document.forceSimple A Boolean value that specifies whether the children of the specified object
are accessible.
document.frameRate A float value that specifies the number of frames displayed per second
when the SWF file plays; the default is 12.
document.height An integer that specifies the height of the document (Stage) in pixels.
document.id A unique integer (assigned automatically) that identifies a document
during a Flash session.
document.library Read-only; the library object for a document.
document.libraryPath 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.
document.livePreview A Boolean value that specifies whether Live Preview is enabled.
document.name Read-only; a string that represents the name of a document (FLA file).
document.path Read-only; a string that represents the path of the document, in a
platform-specific format.
document.pathURI Read-only; a string that represents the path of the document, expressed as
a file:/// URI.
document.publishProfiles Read-only; an array of the publish profile names for the document.
document.screenOutline Read-only; the current ScreenOutline object for the document. The
ScreenOutline object is deprecated beginning with Flash Professional
CS5.
document.selection An array of the selected objects in the document.
document.silent A Boolean value that specifies whether the object is accessible.
Property Description
Kommentare zu diesen Handbüchern