Document.close(); Document.convertlinestofills() - MACROMEDIA FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY Manual

Flash javascript dictionary
Hide thumbs Also See for FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY:
Table of Contents

Advertisement

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
bPromptToSaveChanges
the user with a dialog box if there are unsaved changes in the document. If
bPromptToSaveChanges
documents. The default value is
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);

document.convertLinesToFills()

Availability
Flash MX 2004.
Usage
document.convertLinesToFills()
Parameters
None.
78
Chapter 3: Objects
A Boolean value that, when set to
is set to
, the user is not prompted to save any changed
false
. This parameter is optional.
true
causes the method to prompt
true,

Advertisement

Table of Contents
loading
Need help?

Need help?

Do you have a question about the FLASH MX 2004-FLASH JAVASCRIPT DICTIONARY and is the answer not in the manual?

Subscribe to Our Youtube Channel

This manual is also suitable for:

Flash mx 2004 - actionscript

Table of Contents