beautypg.com

Document.clipcut(), Document.clippaste() – Adobe Extending Flash Professional CS4 User Manual

Page 105

background image

83

EXTENDING FLASH CS4 PROFESSIONAL

Document object

Returns
Nothing.

Description
Method; copies the current selection from the document to the Clipboard.

To copy a string to the Clipboard, use

fl.clipCopyString()

.

Example
The following example copies the current selection from the document to the Clipboard:

fl.getDocumentDOM().clipCopy();

See also

document.clipCut()

,

document.clipPaste()

document.clipCut()

Availability
Flash MX 2004.

Usage

document.clipCut()

Parameters
None.

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.