![MACROMEDIA FIREWORKS 8-EXTENDING FIREWORKS Manual Download Page 336](http://html1.mh-extra.com/html/macromedia/fireworks-8-extending-fireworks/fireworks-8-extending-fireworks_manual_3339145336.webp)
336
Fireworks JavaScript API
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
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 name of the saved document, which is expressed as
file://URL
. This argument
is optional. If
fileURL
is
null
or omitted, the document is saved with its current name; if the
document has not been saved, the Save As 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
fw.exportDocumentAs()
.
See also
fw.exportDocumentAs()
fw.saveDocumentAs()
Availability
Fireworks 3.
Usage
fw.saveDocumentAs(
document
)
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 ...