flash.desktop

# ClipboardFormats - AS3

Package | flash.desktop
Class | public class ClipboardFormats
Inheritance | ClipboardFormats Object

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10, 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.

Related API Elements

flash.desktop.Clipboard

Public Properties
Hide Inherited Public Properties
Show Inherited Public Properties

| Property | Defined By
--- | --- | ---
|  | constructor : Object A reference to the class object or constructor function for a given object instance. | Object

Public Methods
Hide Inherited Public Methods
Show Inherited Public Methods

| Method | Defined By
--- | --- | ---
|  | hasOwnProperty(name:String):Boolean Indicates whether an object has a specified property defined. | Object
|  | isPrototypeOf(theClass:Object):Boolean Indicates whether an instance of the Object class is in the prototype chain of the object specified as the parameter. | Object
|  | propertyIsEnumerable(name:String):Boolean Indicates whether the specified property exists and is enumerable. | Object
|  | setPropertyIsEnumerable(name:String, isEnum:Boolean = true):void Sets the availability of a dynamic property for loop operations. | Object
|  | toLocaleString():String Returns the string representation of this object, formatted according to locale-specific conventions. | Object
|  | toString():String Returns the string representation of the specified object. | Object
|  | valueOf():Object Returns the primitive value of the specified object. | Object

Public Constants

| Constant | Defined 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_FORMAT

Constant

`public static const BITMAP_FORMAT:String = "air:bitmap"`

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 1.0

Image data (AIR only).

### FILE_LIST_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 1.0

An array of files (AIR only).

### FILE_PROMISE_LIST_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 2

File promise list (AIR only).

### HTML_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10, AIR 1.0

HTML data.

### RICH_TEXT_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10, AIR 1.1

Rich Text Format data.

### TEXT_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | Flash Player 10, AIR 1.0

String data.

### URL_FORMAT

Constant

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

Language Version: | ActionScript 3.0

Runtime Versions: | AIR 1.0

A URL string (AIR only).

© 2015 Adobe Systems Incorporated. All rights reserved.
Mon Apr 10 2017, 12:28 PM -07:00