MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual page 345

Table of Contents

Advertisement

fw.updateHTML()
Availability
Fireworks 4.
Usage
fw.updateHTML(doc, htmlUrl, bRecoverFromError)
Arguments
A Document object that specifies the document to be used for updating the HTML
doc
(see
"Document object" on page
14). If
is
, the active document is used.
doc
null
The filename of the HTML file to update, which is expressed as a file://URL. To
htmlUrl
force Fireworks to display the Update HTML dialog box, pass
for
. If you pass
null
htmlUrl
for
,
is ignored.
null
htmlUrl
bRecoverFromError
If
is
and the HTML update encounters an
bRecoverFromError
bRecoverFromError
true
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:
if the HTML was updated;
otherwise.
true
false
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
A string that identifies the destination XML file in the format file://URL.
filepath
Fireworks functions
345

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FIREWORKS 8-EXTENDING FIREWORKS and is the answer not in the manual?

Questions and answers

This manual is also suitable for:

Fireworks 8

Table of Contents