Specifications

456
Note: This function cannot be called from Behavior action or object files because it causes an error.
Arguments
fileName
fileName
is the filename to open, which is expressed as a URL. If the URL is relative, it is relative
to the file that contains the script that called this function.
Returns
The document object for the specified file, which is the same value that
dreamweaver.getDocumentDOM() returns.
dreamweaver.openInFrame()
Availability
Dreamweaver 3
Description
Opens the Open In Frame dialog box. When the user selects a document, it opens into the active
frame.
Arguments
None.
Returns
Nothing.
Enabler
“dreamweaver.canOpenInFrame()” on page 420
dreamweaver.releaseDocument()
Availability
Dreamweaver 2
Description
Explicitly releases a previously referenced document from memory.
Documents that are referenced by
dreamweaver.getObjectTags(),
dreamweaver.getObjectRefs(), dreamweaver.getDocumentPath(), or
dreamweaver.getDocumentDOM() are automatically released when the script that contains the
call finishes executing. If the script opens many documents, you must use this function to
explicitly release documents before finishing the script to avoid running out of memory.
Note: This function is relevant only for documents that were referenced by a URL, that are not currently open in a
frame or document window, and that are not extension files. Extension files are loaded into memory at startup and
are not released until you quit Dreamweaver.
Arguments
documentObject
documentObject
is the object at the root of a documents DOM tree, which is the value that
dreamweaver.getDocumentDOM()) returns.
Returns
Nothing.