Packagecom.devnet.osmf.events
Classpublic class ProgressEvent
InheritanceProgressEvent Inheritance flash.events.Event

Language Version : ActionScript 3.0
Runtime Versions : AIR 1.0, Flash Player 10.0.0

The ProgressEvent class defines a custom event object representing the progress information for loading media.



Public Properties
 PropertyDefined By
  bytesLoaded : uint
Bytes loaded so far.
ProgressEvent
  bytesTotal : uint
Total number of bytes to load.
ProgressEvent
Public Methods
 MethodDefined By
  
ProgressEvent(type:String, bubbles:Boolean, cancelable:Boolean, loaded:uint, total:uint)
ProgressEvent
  
clone():Event
[override]
ProgressEvent
Public Constants
 ConstantDefined By
  MEDIA_PROGRESS : String = mediaProgress
[static]
ProgressEvent
Property Detail
bytesLoadedproperty
bytesLoaded:uint

Bytes loaded so far.


Implementation
    public function get bytesLoaded():uint
    public function set bytesLoaded(value:uint):void
bytesTotalproperty 
bytesTotal:uint

Total number of bytes to load.


Implementation
    public function get bytesTotal():uint
    public function set bytesTotal(value:uint):void
Constructor Detail
ProgressEvent()Constructor
public function ProgressEvent(type:String, bubbles:Boolean, cancelable:Boolean, loaded:uint, total:uint)



Parameters
type:String
 
bubbles:Boolean
 
cancelable:Boolean
 
loaded:uint
 
total:uint
Method Detail
clone()method
override public function clone():Event

Returns
Event
Constant Detail
MEDIA_PROGRESSConstant
public static const MEDIA_PROGRESS:String = mediaProgress