Adobe Extending Flash Professional CS4 Manuale Utente Pagina 106

  • Scaricare
  • Aggiungi ai miei manuali
  • Stampa
  • Pagina
    / 560
  • Indice
  • SEGNALIBRI
  • Valutato. / 5. Basato su recensioni clienti
Vedere la pagina 105
84
EXTENDING FLASH CS4 PROFESSIONAL
Document object
Usage
document.clipPaste([bInPlace])
Parameters
bInPlace A Boolean value that, when set to true, causes the method to perform a paste-in-place operation. The
default value is false, which causes the method to perform a paste operation to the center of the document. This
parameter is optional.
Returns
Nothing.
Description
Method; pastes the contents of the Clipboard into the document.
Example
The following example 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);
See also
document.clipCopy(), document.clipCut(), fl.clipCopyString()
document.close()
Availability
Flash MX 2004.
Usage
document.close([bPromptToSaveChanges])
Parameters
bPromptToSaveChanges A Boolean value that, when set to true, causes the method to prompt the user with a dialog
box if there are unsaved changes in the document. If bPromptToSaveChanges is set to
false, the user is not prompted
to save any changed documents. The default value is
true. This parameter is optional.
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:
Vedere la pagina 105
1 2 ... 101 102 103 104 105 106 107 108 109 110 111 ... 559 560

Commenti su questo manuale

Nessun commento