Fireworks functions
267
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
)
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()
Summary of Contents for DREAMWEAVER MX 2004-EXTENDING DREAMWEAVER
Page 1: ...Extending Fireworks...
Page 4: ...4 Contents...
Page 8: ...8 Chapter 1 Extending Fireworks Overview...
Page 102: ...102 Chapter 4 Auto Shapes...