MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 250

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

Advertisement

Description
Exports the specified document to the specified file.
See also
fw.exportHtmlAndImages()
fw.exportFrames()
Availability
Fireworks 4.
Usage
fw.exportFrames(docObject, directoryURL)
Arguments
A Document object that specifies the document that contains the frames to export
docObject
(see
"Document object" on page
directoryURL
URL.
Returns
A Boolean value:
Description
Exports a document's frames as individual images. The image names are based on the names in
the Frames panel.
Example
The following command exports the frames in the current document to the C:\images directory.
fw.exportFrames(null, "file:///C|/images");
fw.exportHtmlAndImages()
Availability
Fireworks 4.
Usage
fw.exportHtmlAndImages(doc, htmlUrl, imagesUrl)
Arguments
A Document object that specifies the document to be exported (see
doc
on page
13). If
doc
The filename of the exported HTML file, which is expressed as a file://URL. If
htmlUrl
is
htmlUrl
null
The name of the file containing the exported image(s), which is expressed as a file:/
imagesUrl
/URL, and might not be
name of the image file. If multiple sliced images are exported, it uses
automatically named images, and all images are placed in this directory.
250
Chapter 5: Fireworks JavaScript API
13). To export frames from the current document, pass
The directory where the images will be placed, which is expressed as a file://
if successful;
true
false
is
, the active document is exported.
null
, no HTML is generated.
. If a single image is generated, this function uses
null
otherwise.
null
"Document object"
imagesUrl
to generate
imagesURL
.
as the

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