Example
The following examples pastes the Clipboard contents to the center of the document:
fl.getDocumentDOM().clipPaste();
The following example pastes the Clipboard contents in place in the current document:
fl.getDocumentDOM().clipPaste(true);
document.close()
Availability
Flash MX 2004.
Usage
document.close( [bPromptToSaveChanges] )
Parameters
A Boolean value that, when set to
causes the method to
bPromptToSaveChanges
true,
prompt the user with a dialog box if there are unsaved changes in the document. If
is set to
, the user is not prompted to save any changed
bPromptToSaveChanges
false
documents. The default value is
. This parameter is optional.
true
Returns
Nothing.
Description
Method; closes the specified document.
Example
The following example closes the current document and prompts the user with a dialog box to
save changes:
fl.getDocumentDOM().close();
The following example closes the current document without saving changes:
fl.getDocumentDOM().close(false);
88
Objects
Need help?
Do you have a question about the FLASH 8-EXTENDING FLASH and is the answer not in the manual?
Questions and answers