Packageflash.desktop
Classpublic class ClipboardFormats
InheritanceClipboardFormats Inheritance Object

Language version: ActionScript 3.0
Runtime version: AIR 1.0

The ClipboardFormats class defines constants for the names of the standard data formats used with the Clipboard class. Flash Player 10 only supports TEXT_FORMAT, RICH_TEXT_FORMAT, and HTML_FORMAT.

See also

flash.desktop.Clipboard


Public Properties
 PropertyDefined by
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
Object
 Inheritedprototype : Object
[static] A reference to the prototype object of a class or function object.
Object
Public Methods
 MethodDefined by
 Inherited
Indicates whether an object has a specified property defined.
Object
 Inherited
Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter.
Object
 Inherited
Indicates whether the specified property exists and is enumerable.
Object
 Inherited
Sets the availability of a dynamic property for loop operations.
Object
 Inherited
Returns the string representation of this object, formatted according to locale-specific conventions.
Object
 Inherited
Returns the string representation of the specified object.
Object
 Inherited
Returns the primitive value of the specified object.
Object
Public Constants
 ConstantDefined by
  BITMAP_FORMAT : String = "air:bitmap"
[static] Image data (AIR only).
ClipboardFormats
  FILE_LIST_FORMAT : String = "air:file list"
[static] An array of files (AIR only).
ClipboardFormats
  FILE_PROMISE_LIST_FORMAT : String = "air:file promise list"
[static] File promise list (AIR only).
ClipboardFormats
  HTML_FORMAT : String = "air:html"
[static] HTML data.
ClipboardFormats
  RICH_TEXT_FORMAT : String = "air:rtf"
[static] Rich Text Format data.
ClipboardFormats
  TEXT_FORMAT : String = "air:text"
[static] String data.
ClipboardFormats
  URL_FORMAT : String = "air:url"
[static] A URL string (AIR only).
ClipboardFormats
Constant detail
BITMAP_FORMATconstant
public static const BITMAP_FORMAT:String = "air:bitmap"

Language version: ActionScript 3.0
Runtime version: AIR 1.0

Image data (AIR only).

FILE_LIST_FORMATconstant 
public static const FILE_LIST_FORMAT:String = "air:file list"

Language version: ActionScript 3.0
Runtime version: AIR 1.0

An array of files (AIR only).

FILE_PROMISE_LIST_FORMATconstant 
public static const FILE_PROMISE_LIST_FORMAT:String = "air:file promise list"

Language version: ActionScript 3.0
Runtime version: AIR 2

File promise list (AIR only).

HTML_FORMATconstant 
public static const HTML_FORMAT:String = "air:html"

Language version: ActionScript 3.0
Runtime version: AIR 1.0

HTML data.

RICH_TEXT_FORMATconstant 
public static const RICH_TEXT_FORMAT:String = "air:rtf"

Language version: ActionScript 3.0
Runtime version: AIR 1.1

Rich Text Format data.

TEXT_FORMATconstant 
public static const TEXT_FORMAT:String = "air:text"

Language version: ActionScript 3.0
Runtime version: AIR 1.0

String data.

URL_FORMATconstant 
public static const URL_FORMAT:String = "air:url"

Language version: ActionScript 3.0
Runtime version: AIR 1.0

A URL string (AIR only).