234
EXTENDING FIREWORKS
The Fireworks Object
Las
t
up
d
a
ted
12/8/2009
bRecoverFromError
If
bRecoverFromError
is
true
and the HTML update encounters an error, Fireworks displays a
Confirmation dialog box and attempts to recover. If it is
false
, Fireworks fails without notifying the user if it
encounters an error.
Returns
A Boolean value:
true
if the HTML was updated;
false
otherwise.
Description
Updates the HTML that was previously exported from Fireworks.
Example
The following command updates the images in an HTML file, using the current document.
fw.updateHTML(null, "file:///C|/mysite/nav.htm", true);
fw.writePanelStateToFile()
Availability
Fireworks MX.
Usage
fw.writePanelStateToFile(
filepath
)
Arguments
filepath
A string that identifies the destination XML file in the format file://URL.
Returns
Nothing.
Description
Writes out the panel states (location, size, open or closed, and so on), toolbox state, and Property inspector state to an
XML file that is specified by the argument.
fw.yesNoDialog()
Availability
Fireworks MX.
Usage
fw.yesNoDialog(
promptString
)
Arguments
promptString
The prompt message that appears in the dialog box.