Main Page | Packages | Class Tree | Index | Help

mx.controls.streamingmedia

class StreamingMediaConstants

Object
  |
  +--mx.controls.streamingmedia.StreamingMediaConstants


class StreamingMediaConstants
extends Object

This class holds public constants used in the StreamingMedia package.


Author:
Andrew Guldman


Field Summary

public static
DEFAULT_VOLUME: Number
Starting volume position, between 0 and 100

public static
DISABLE_FLV_TOEND: Boolean
If this is true then the "to end" button will *always* be disabled when playing FLV media.

public static
FLV_MEDIA_TYPE: String


public static
MP3_MEDIA_TYPE: String


public static
PAUSE_PLAY_CONTROL: String
"pause" active play control

public static
PLAY_PLAY_CONTROL: String
"play" active play control

public static
SCRUBBING: Boolean
This variable controls whether real-time scrubbing is enabled.

Fields inherited from class Object

__proto__, constructor, prototype

Methods inherited from class Object

addProperty, hasOwnProperty, isPropertyEnumerable, isPrototypeOf, registerClass, toLocaleString, toString, unwatch, valueOf, watch



Field Documentation

DEFAULT_VOLUME

public static var DEFAULT_VOLUME: Number
Starting volume position, between 0 and 100

DISABLE_FLV_TOEND

public static var DISABLE_FLV_TOEND: Boolean
If this is true then the "to end" button will *always* be disabled when playing FLV media.

This is necessary due to limitations in the NetStream and Video objects that prevent FLV files from being reliably positioned at the end.

FLV_MEDIA_TYPE

public static var FLV_MEDIA_TYPE: String

MP3_MEDIA_TYPE

public static var MP3_MEDIA_TYPE: String

PAUSE_PLAY_CONTROL

public static var PAUSE_PLAY_CONTROL: String
"pause" active play control

PLAY_PLAY_CONTROL

public static var PLAY_PLAY_CONTROL: String
"play" active play control

SCRUBBING

public static var SCRUBBING: Boolean
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.


The documentation was generated from the following file:


Copyright © 1997-2005 Macromedia, Inc. All rights reserved. Generated with AS2Doc