User Guide

162 Chapter 3: Objects
Property summary for the flash object
The following properties can be used with the flash object.
fl.saveDocumentAs() Displays the Save As dialog box for the specified document.
fl.setActiveWindow() Sets the active window to be the specified document.
fl.trace() Sends a text string to the Output panel.
Properties Description
fl.activeEffect Read-only; the Effect object for the current effect being applied.
fl.componentsPanel Read-only; a componentsPanel object, which represents the
Components panel.
fl.configDirectory Read-only; a string that specifies the full path for the local user’s
Configuration folder as a platform-specific path.
fl.configURI Read-only; a string that specifies the full path for the local user’s
Configuration directory in a URI format (file:///).
fl.createNewDocList Read-only; an array of strings that represent the various types of
documents that can be created.
fl.createNewDocListType Read-only; an array of strings that represent the file extensions of
the types of documents that can be created.
fl.createNewTemplateList Read-only; an array of strings that represent the various types of
templates that can be created.
fl.documents Read-only; an array of Document objects (see Document object)
that represent the documents (FLA files) that are currently open for
editing.
fl.drawingLayer Read-only; the drawingLayer object that an extensible tool should
use when the user wants to temporarily draw while dragging.
fl.effects Read-only; an array of Effect objects (see Effect object), based on
XML parameter file.
fl.Math Read-only; the Math object >provides methods for matrix and point
operations.
fl.mruRecentFileList Read-only; an array of the complete filenames in the Most Recently
Used (MRU) list that the authoring tool manages.
fl.mruRecentFileListType Read-only; an array of the file types in the MRU list that the
authoring tool manages.
fl.outputPanel Read-only; reference to the outputPanel object.
fl.tools Read-only; an array of Tools objects.
fl.version Read-only; returns the long string version of the Flash authoring
tool, including platform.
fl.xmlui Read-only; an XMLUI object.
Method Description