Packagenet.guttershark.support.events
Classpublic class FLVEvent
InheritanceFLVEvent Inheritance flash.events.Event

The FLVEvent class is dispatched from an FLV instance.



Public Properties
 PropertyDefined by
  bytesLoaded : Number
The current bytes loaded of the flv.
FLVEvent
  bytesTotal : Number
The bytes total of the flv.
FLVEvent
  cuepoint : Object
A cuepoint object.
FLVEvent
  CUE_POINT : String = "cuePoint"
[static] Cue point.
FLVEvent
  metadata : Object
FLV meta data object.
FLVEvent
  percentBuffered : Number
The percent of the video that is in buffer.
FLVEvent
  percentLoaded : Number
The percent loaded.
FLVEvent
  percentPlayed : Number
Percent played.
FLVEvent
  pixelsBuffered : int
The amount of pixels that are buffered out of the total buffer.
FLVEvent
  pixelsPlayed : int
The amount of pixels that have been played.
FLVEvent
  url : String
The currently playing, or the attempted flv url.
FLVEvent
Public Methods
 MethodDefined by
  
FLVEvent(type:String, url:String = null, percentLoaded:Number = 0, percentPlayed:Number = 0, percentBuffered:Number = 0, pixelsBuffered:Number = 0, pixelsPlayed:Number = 0, cuepoint:Object = null, metadata:Object = null, bytesLoaded:Number = 0, bytesTotal:Number = 0)
Constructor for FLVEvent instances.
FLVEvent
  
clone():Event
FLVEvent
Public Constants
 ConstantDefined by
  BUFFER_EMPTY : String = "bufferEmpty"
[static] Buffer Empty.
FLVEvent
  BUFFER_FLUSH : String = "bufferFlush"
[static] Buffer Flush.
FLVEvent
  BUFFER_FULL : String = "bufferFull"
[static] Buffer Full.
FLVEvent
  METADATA : String = "metaData"
[static] FLV Meta Data.
FLVEvent
  PROGRESS : String = "progress"
[static] FLV Progress.
FLVEvent
  SEEK_INVALID_TIME : String = "seekInvalidTime"
[static] Invalid seek time.
FLVEvent
  SEEK_NOTIFY : String = "seekNotify"
[static] Seek notify
FLVEvent
  START : String = "start"
[static] FLV Start.
FLVEvent
  STOP : String = "stop"
[static] FLV Stop.
FLVEvent
  STREAM_NOT_FOUND : String = "streamNotFound"
[static] Stream not found.
FLVEvent
Property detail
bytesLoadedproperty
public var bytesLoaded:Number

The current bytes loaded of the flv.

bytesTotalproperty 
public var bytesTotal:Number

The bytes total of the flv.

cuepointproperty 
public var cuepoint:Object

A cuepoint object.

CUE_POINTproperty 
public static var CUE_POINT:String = "cuePoint"

Cue point.

metadataproperty 
public var metadata:Object

FLV meta data object.

percentBufferedproperty 
public var percentBuffered:Number

The percent of the video that is in buffer.

percentLoadedproperty 
public var percentLoaded:Number

The percent loaded.

percentPlayedproperty 
public var percentPlayed:Number

Percent played.

pixelsBufferedproperty 
public var pixelsBuffered:int

The amount of pixels that are buffered out of the total buffer.

pixelsPlayedproperty 
public var pixelsPlayed:int

The amount of pixels that have been played.

urlproperty 
public var url:String

The currently playing, or the attempted flv url.

Constructor detail
FLVEvent()constructor
public function FLVEvent(type:String, url:String = null, percentLoaded:Number = 0, percentPlayed:Number = 0, percentBuffered:Number = 0, pixelsBuffered:Number = 0, pixelsPlayed:Number = 0, cuepoint:Object = null, metadata:Object = null, bytesLoaded:Number = 0, bytesTotal:Number = 0)

Constructor for FLVEvent instances.

Parameters
type:String
 
url:String (default = null)
 
percentLoaded:Number (default = 0)
 
percentPlayed:Number (default = 0)
 
percentBuffered:Number (default = 0)
 
pixelsBuffered:Number (default = 0)
 
pixelsPlayed:Number (default = 0)
 
cuepoint:Object (default = null)
 
metadata:Object (default = null)
 
bytesLoaded:Number (default = 0)
 
bytesTotal:Number (default = 0)
Method detail
clone()method
public override function clone():Event

Returns
Event
Constant detail
BUFFER_EMPTYconstant
public static const BUFFER_EMPTY:String = "bufferEmpty"

Buffer Empty.

BUFFER_FLUSHconstant 
public static const BUFFER_FLUSH:String = "bufferFlush"

Buffer Flush.

BUFFER_FULLconstant 
public static const BUFFER_FULL:String = "bufferFull"

Buffer Full.

METADATAconstant 
public static const METADATA:String = "metaData"

FLV Meta Data.

PROGRESSconstant 
public static const PROGRESS:String = "progress"

FLV Progress.

SEEK_INVALID_TIMEconstant 
public static const SEEK_INVALID_TIME:String = "seekInvalidTime"

Invalid seek time.

SEEK_NOTIFYconstant 
public static const SEEK_NOTIFY:String = "seekNotify"

Seek notify

STARTconstant 
public static const START:String = "start"

FLV Start.

STOPconstant 
public static const STOP:String = "stop"

FLV Stop.

STREAM_NOT_FOUNDconstant 
public static const STREAM_NOT_FOUND:String = "streamNotFound"

Stream not found.