
82
EXTENDING FLASH PROFESSIONAL
Document object
Last updated 5/2/2011
Returns
Nothing.
Description
Method; cuts the current selection from the document and writes it to the Clipboard.
Example
The following example cuts the current selection from the document and writes it to the Clipboard:
fl.getDocumentDOM().clipCut();
See also
document.clipCopy(), document.clipPaste(), fl.clipCopyString()
document.clipPaste()
Availability
Flash MX 2004.
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()
Comentarios a estos manuales