MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 274

Extending fireworks
Hide thumbs Also See for FIREWORKS MX 2004-EXTENDING FIREWORKS:
Table of Contents

Advertisement

Description
Replaces selected primitive objects with their equivalent paths. The new objects have all the
attributes (mask, stroke, fill, and so on) of the replaced ones.
See also
dom.addNewRectanglePrimitive()
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 (see
doc
"Document object" on page
The filename of the HTML file to update, which is expressed as a file://URL. To force
htmlUrl
Fireworks to display the Update HTML dialog box, pass
,
htmlUrl
bRecoverFromError
bRecoverFromError
error, Fireworks displays a Confirmation dialog box and attempts to recover. If it is
Fireworks fails without notifying the user if it encounters an error.
Returns
A Boolean value:
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
274
Chapter 5: Fireworks JavaScript API
13). If
doc
is ignored.
If
bRecoverFromError
if the HTML was updated;
true
is
, the active document is used.
null
null
is
and the HTML update encounters an
true
otherwise.
false
for
. If you pass
htmlUrl
false
for
null
,

Advertisement

Table of Contents
loading
Need help?

Need help?

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

Questions and answers

This manual is also suitable for:

Fireworks mx 2004

Table of Contents