User Guide
Fireworks functions 309
Description
Displays a dialog box that lets the user choose the target documents for an operation. The
dialog box lets the user specify currently open files, files in the project list, or files that are
explicitly selected.
See also
fw.locateDocDialog()
fw.closeDocument()
Availability
Fireworks 3.
Usage
fw.closeDocument(document, {bPromptToSaveChanges})
Arguments
document A Document object that specifies the document to close (see “Document object”
on page 14).
bPromptToSaveChanges An optional Boolean argument. If bPromptToSaveChanges is
true or omitted and the document has changed since the last time it was saved, the user is
prompted to save changes to the document. If
bPromptToSaveChanges is false, the user is
not prompted, 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.