Fireworks functions
337
Arguments
document
A Document object, for example,
fw.documents[2]
, that specifies the
document to save. If
document
is
null
, the active document is saved.
Returns
The file URL for the saved document, or
null
if the dialog box was canceled.
Description
Displays the Save As dialog box for the specified document, so that it can be saved as a native
Fireworks PNG file with the specified name. To save a document to another format, such as
GIF or JPEG, use
fw.exportDocumentAs()
.
See also
fw.exportDocumentAs()
fw.saveDocumentCopyAs()
Availability
Fireworks 3.
Usage
fw.saveDocumentCopyAs(
document
,
fileURL
)
Arguments
document
A Document object, for example,
fw.documents[2]
, that specifies the
document to be saved. If
document
is
null
, the active document is saved.
fileURL
The filename for the saved file, which is expressed as a file://URL. If
fileURL
is
null
, the Save As dialog box appears.
Returns
The file URL for the saved document, or
null
if the dialog box was canceled.
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
fw.exportDocumentAs().
See also
fw.exportDocumentAs()
Summary of Contents for FIREWORKS 8-EXTENDING FIREWORKS
Page 1: ...Extending Fireworks ...
Page 4: ...4 Contents ...
Page 358: ...358 Fireworks JavaScript API ...
Page 372: ...372 Index ...