Adobe Extending Flash Professional CS4 User Manual
Page 241

219
EXTENDING FLASH CS4 PROFESSIONAL
flash object (fl)
Property summary
The following properties can be used with the flash object.
Quits Flash, prompting the user to save any changed documents.
Rebuilds the Tools panel from the toolconfig.xml file. Used only when
creating extensible tools.
Unregisters a function that was registered using
fl.addEventListener()
.
Resets the global Classpath setting in the ActionScript 3.0 Settings
dialog box to the default value.
Resets the global Classpath setting in the ActionScript 2.0 Settings
dialog box to the default value.
fl.revertDocumentToLastVersion()
Reverts the specified document to the version on the Version Cue
server.
Executes a JavaScript file.
Saves all open documents, displaying the Save As dialog box for any
documents that were not previously saved.
Saves a version of the specified document to the Version Cue server.
Saves the specified document as a FLA document.
Displays the Save As dialog box for the specified document.
Enables selection or editing of an element.
Selects the specified tool in the Tools panel.
Sets the active window to be the specified document.
Lets you disable the warning about a script running too long.
fl.synchronizeDocumentWithHeadVersion()
Synchronizes the specified document with the most current version on
the Version Cue server.
Sends a text string to the Output panel.
Property
Description
Read-only; an
.
A string that corresponds to the global Classpath setting in the ActionScript 3.0
Settings dialog box.
Read-only; a
, which represents the Components panel.
Read-only; a string that specifies the full path for the local user’s Configuration
folder as a platform-specific path.
Read-only; a string that specifies the full path for the local user’s Configuration
directory as a file:/// URI.
A Boolean value that specifies whether Contact Sensitive selection mode is
enabled.
Method
Description