flash object (fl)
247
Parameters
None.
Returns
Nothing.
Description
Method; rebuilds the Tools panel from the toolconfig.xml file. This method is used only when
creating extensible tools. Use this method when you need to reload the Tools panel, for
example, after modifying the JSFL file that defines a tool that is already present in the panel.
Example
The following example is a one-line script that you can place in the Commands folder. When
you need to reload the Tools panel, run the script from the Commands menu.
fl.reloadTools();
fl.revertDocument()
Availability
Flash MX 2004.
Usage
fl.revertDocument(
documentObject
)
Parameters
documentObject
A
Document object
. If
documentObject
refers to the active document,
the Document window might not revert until the script that calls this method finishes
executing.
Returns
A Boolean value:
true
if the Revert operation completes successfully;
false
otherwise.
Description
Method; reverts the specified FLA document to its last saved version. Unlike the File > Revert
menu option, this method does not display a warning window that asks the user to confirm
the operation. See also
document.revert()
and
document.canRevert()
.
Summary of Contents for FLASH 8-EXTENDING FLASH
Page 1: ...Extending Flash...
Page 38: ...38 Top Level Functions and Methods...
Page 532: ...532 Objects...
Page 554: ...554 C Level Extensibility...