Extending Flash |
|
|
|
| Objects > Document object > document.clipPaste() | |||
Flash MX 2004.
document.clipPaste([bInPlace])
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.
Nothing.
Method; pastes the contents of the Clipboard into the document.
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);
document.clipCopy(), document.clipCut(), fl.clipCopyString()
|
|
|
|