Adobe 38039927 - Fireworks CS3 - PC Extended User Manual page 210

Extending fireworks
Hide thumbs Also See for 38039927 - Fireworks CS3 - PC:
Table of Contents

Advertisement

ADOBE FIREWORKS CS3
206
Extending Guide
Usage
fw.updateHTML(doc, htmlUrl, bRecoverFromError)
Arguments
A Document object that specifies the document to be used for updating the HTML (see "The Document
doc
object" on page 20). 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 force Fireworks to
htmlUrl
display the Update HTML dialog box, pass
for
. If you pass
for
,
null
htmlUrl
null
htmlUrl
bRecoverFromError
is ignored.
If
is
and the HTML update encounters an error, Fireworks
bRecoverFromError
bRecoverFromError
true
displays a Confirmation dialog box and attempts to recover. If it is
, Fireworks fails without notifying the user
false
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
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)

Advertisement

Table of Contents
loading

This manual is also suitable for:

Fireworks cs3

Table of Contents