StreamingMediaConstants

Kind of class:class
Inherits from:none
Author:Andrew Guldman
Classpath:mx.controls.streamingmedia.StreamingMediaConstants
File last modified:Tuesday, 18 December 2007, 15:44:38
This class holds public constants used in the StreamingMedia package.

Summary


Class properties

Class properties

DEFAULT_VOLUME

static DEFAULT_VOLUME:Number = 75
(read)

Starting volume position, between 0 and 100

DISABLE_FLV_TOEND

static DISABLE_FLV_TOEND:Boolean = true
(read)

This variable indicates the strategy we will use for sizing FLV
video objects. Allowable values are "poll" and "bufferFull".
- "poll" will repeatedly check to see if the video object has valid
height or width properties before setting it.
- "bufferFull" will set the size upon receipt of the first
"NetStream.Buffer.Full" status event after initiating loading
of the media.

We always use the bufferFull technique.
public static var VIDEO_SIZING_STRATEGY:String = "bufferFull";

FLV_MEDIA_TYPE

static FLV_MEDIA_TYPE:String = "FLV"
(read)

MP3_MEDIA_TYPE

static MP3_MEDIA_TYPE:String = "MP3"
(read)

PAUSE_PLAY_CONTROL

static PAUSE_PLAY_CONTROL:String = "pause"
(read)

"pause" active play control

PLAY_PLAY_CONTROL

static PLAY_PLAY_CONTROL:String = "play"
(read)

"play" active play control

SCRUBBING

static SCRUBBING:Boolean = true
(read)

This variable controls whether real-time scrubbing is enabled.
It effects two areas in the system:
1. The PlayBarThumb.handleMouseMove method sends a playheadChange event as the
thumb is moved if scrubbing is enabled.
2. The FLVPlayer.setPlayheadTime method positions the playhead differently
depending on whether scrubbing is enabled.