User Guide
256 Chapter 5: Fireworks JavaScript API
fw.getDocumentDOM()
Availability
Fireworks 3.
Usage
fw.getDocumentDOM({which-string})
Arguments
which-string
An optional string that is included for compatibility with Dreamweaver. If
specified here, it must be
"document".
Returns
The Document object for the active document, or null if no document is open.
Description
Gets the Document object for the active document (see “Document object” on page 13).
fw.getDocumentPath()
Availability
Fireworks 3.
Usage
fw.getDocumentPath(document)
Arguments
document
A Document object, for example, fw.documents[2], that specifies the document
whose path and filename should be retrieved. If
document is null, information about the active
document is retrieved.
Returns
The file URL for the document if it was saved or an empty string if it has not been saved.
Description
Gets the path and filename of the specified document.
fw.getFloaterGroupings()
Availability
Fireworks 3.
Usage
fw.getFloatGroupings()
Arguments
None.