Fireworks functions
245
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 13
).
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.
Returns
The Document object for the newly created document (see
“Document object” on page 13
).
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()
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...