
227
EXTENDING FIREWORKS
The Fireworks Object
Las
t
up
d
a
ted
12/8/2009
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()
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().
Содержание 65011817 - Fireworks CS4 - Mac
Страница 1: ...Extending ADOBE FIREWORKS CS4...