MACROMEDIA FLASH 8-EXTENDING FLASH Manual page 247

Extending flash
Table of Contents

Advertisement

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
A
documentObject
the Document window might not revert until the script that calls this method finishes
executing.
Returns
A Boolean value:
true
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
object. If
if the Revert operation completes successfully;
document.revert()
refers to the active document,
documentObject
and
document.canRevert()
otherwise.
false
.
flash object (fl)
247

Advertisement

Table of Contents
loading

This manual is also suitable for:

Flash 8

Table of Contents