fw.closeDocument()
Availability
Fireworks 3.
Usage
fw.closeDocument(document, {bPromptToSaveChanges})
Arguments
A Document object that specifies the document to close (see
document
on page
13).
bPromptToSaveChanges
omitted and the document has changed since the last time it was saved, the user is prompted to
save changes to the document. If
and any changes to the document are discarded.
Returns
Nothing.
Description
Closes the specified document.
fw.createDocument()
Availability
Fireworks 3.
Usage
fw.createDocument().
Arguments
None.
Returns
The Document object for the newly created document (see
Description
Opens a new document and selects it. Values for size, resolution, and color are the same as
the current defaults. To specify values other than the defaults, use
fw.createFireworksDocument().
See also
fw.createFireworksDocument()
An optional Boolean argument. If
bPromptToSaveChanges
"Document object"
bPromptToSaveChanges
is
, the user is not prompted,
false
"Document object" on page
Fireworks functions
is
or
true
13).
245
Need help?
Do you have a question about the FIREWORKS MX 2004-EXTENDING FIREWORKS and is the answer not in the manual?
Questions and answers