ActionScript® 3.0 Reference for the Adobe® Flash® Platform
Home  |  Show Packages and Classes List |  Packages  |  Classes  |  What's New  |  Index  |  Appendixes
org.osmf.traits 

MediaTraitType  - AS3 OSMF

Packageorg.osmf.traits
Classpublic final class MediaTraitType
InheritanceMediaTraitType Inheritance Object

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

MediaTraitType is the enumeration of all possible media trait types.

The set of traits in the framework are fixed: clients are not expected to introduce their own, as they form the core vocabulary of the system.



Public Properties
 PropertyDefined By
 Inheritedconstructor : Object
A reference to the class object or constructor function for a given object instance.
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
  ALTERNATIVE_AUDIO : String = "alternativeAudio"
[static] Identifies an instance of an AlternativeAudioTrait.
MediaTraitType
  AUDIO : String = "audio"
[static] Identifies an instance of an AudioTrait.
MediaTraitType
  BUFFER : String = "buffer"
[static] Identifies an instance of a BufferTrait.
MediaTraitType
  DISPLAY_OBJECT : String = "displayObject"
[static] Identifies an instance of a DisplayObjectTrait.
MediaTraitType
  DRM : String = "drm"
[static] Identifies an instance of a DRMTrait.
MediaTraitType
  DVR : String = "dvr"
[static] Identifies an instance of a DVRTrait.
MediaTraitType
  DYNAMIC_STREAM : String = "dynamicStream"
[static] Identifies an instance of a DynamicStreamTrait.
MediaTraitType
  LOAD : String = "load"
[static] Identifies an instance of a LoadTrait.
MediaTraitType
  PLAY : String = "play"
[static] Identifies an instance of a PlayTrait.
MediaTraitType
  SEEK : String = "seek"
[static] Identifies an instance of a SeekTrait.
MediaTraitType
  TIME : String = "time"
[static] Identifies an instance of a TimeTrait.
MediaTraitType
Constant Detail

ALTERNATIVE_AUDIO

Constant
public static const ALTERNATIVE_AUDIO:String = "alternativeAudio"

Language Version: ActionScript 3.0
Product Version: OSMF 1.6
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of an AlternativeAudioTrait.

AUDIO

Constant 
public static const AUDIO:String = "audio"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of an AudioTrait.

BUFFER

Constant 
public static const BUFFER:String = "buffer"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a BufferTrait.

DISPLAY_OBJECT

Constant 
public static const DISPLAY_OBJECT:String = "displayObject"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a DisplayObjectTrait.

DRM

Constant 
public static const DRM:String = "drm"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a DRMTrait.

DVR

Constant 
public static const DVR:String = "dvr"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a DVRTrait.

DYNAMIC_STREAM

Constant 
public static const DYNAMIC_STREAM:String = "dynamicStream"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a DynamicStreamTrait.

LOAD

Constant 
public static const LOAD:String = "load"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a LoadTrait.

PLAY

Constant 
public static const PLAY:String = "play"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a PlayTrait.

SEEK

Constant 
public static const SEEK:String = "seek"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a SeekTrait.

TIME

Constant 
public static const TIME:String = "time"

Language Version: ActionScript 3.0
Product Version: OSMF 1.0
Runtime Versions: Flash Player 10, AIR 1.5

Identifies an instance of a TimeTrait.