Arguments
None.
Returns
Nothing.
Description
Saves all open documents, displaying the Save As dialog box for any documents that were not previously saved.
fw.saveDocument()
Availability
Fireworks 3.
Usage
fw.saveDocument(document, {fileURL})
Arguments
A Document object, for example,
document
is
, the active document is saved.
document
null
The name of the saved document, which is expressed as file://URL. This argument is optional. If
fileURL
is
or omitted, the document is saved with its current name; if the document has not been saved, the Save As
null
dialog box appears.
Returns
Nothing.
Description
Saves 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()" on page 182
fw.saveDocumentAs()
Availability
Fireworks 3.
Usage
fw.saveDocumentAs(document)
Arguments
A Document object, for example,
document
is
, the active document is saved.
null
Returns
The file URL for the saved document, or
fw.documents[2]
fw.exportDocumentAs()
fw.documents[2]
if the dialog box was canceled.
null
, that specifies the document to be saved. If
.
, that specifies the document to save. If
ADOBE FIREWORKS CS3
199
Extending Guide
fileURL
document