System.setClipboard()

Availability

Authoring: Flash MX 2004.

Playback: SWF files published for Flash Player 6 or later, playing in Flash Player 7 or later.

Usage

System.setClipboard(string)

Parameters

string A plain-text string of characters to place on the system clipboard, replacing its current contents (if any). If you pass a string literal, as opposed to a variable of type string, enclose the literal in quotation marks.

Returns

A Boolean value of true if the text was successfully placed on the clipboard, false otherwise.

Description

Method; replaces the contents of the system clipboard with a specified text string.