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

MediaType  - AS3 OSMF

Packageorg.osmf.media
Classpublic final class MediaType
InheritanceMediaType Inheritance Object

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

MediaType identifies the various media types that the Open Source Media Framework can handle out of the box. A MediaType is typically associated with a MediaResourceBase.

Related API Elements



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
  AUDIO : String = "audio"
[static] The type constant for audio.
MediaType
  IMAGE : String = "image"
[static] The type constant for images.
MediaType
  SWF : String = "swf"
[static] The type constant for SWFs.
MediaType
  VIDEO : String = "video"
[static] The type constant for video.
MediaType
Constant Detail

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

The type constant for audio.

IMAGE

Constant 
public static const IMAGE:String = "image"

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

The type constant for images.

SWF

Constant 
public static const SWF:String = "swf"

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

The type constant for SWFs.

VIDEO

Constant 
public static const VIDEO:String = "video"

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

The type constant for video.