MACROMEDIA FIREWORKS MX 2004-EXTENDING FIREWORKS Manual page 268

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

Advertisement

fw.saveDocumentCopyAs()
Availability
Fireworks 3.
Usage
fw.saveDocumentCopyAs(document, fileURL)
Arguments
A Document object, for example,
document
be saved. If
document
The filename for the saved file, which is expressed as a file://URL. If
fileURL
the Save As dialog box appears.
Returns
The file URL for the saved document, or
Description
Saves a copy of the specified document as a native Fireworks PNG file with the specified name.
To save a document to another format, such as GIF or JPEG, use
See also
fw.exportDocumentAs()
fw.saveJsCommand()
Availability
Fireworks 3.
Usage
fw.saveJsCommand(jscode, filename)
Arguments
The string of code to be saved as a JSF command file.
jscode
The name under which the file should be saved. If
filename
is, if it does not begin with
Commands folder.
Returns
Nothing.
Description
Saves the specified string of JavaScript code as a JSF command file.
268
Chapter 5: Fireworks JavaScript API
is
, the active document is saved.
null
null
), the file is saved in the Fireworks MX/Configuration/
"file:///"
, that specifies the document to
fw.documents[2]
if the dialog box was canceled.
fw.exportDocumentAs().
filename
is
fileURL
null
is not a file URL (that
,

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