mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-20 01:37:50 -05:00
Brought up to date with the private repository (feea4c7)
This commit is contained in:
1 parent
1aa738d692
commit
1b1df1ae48
7925 files changed
+2617237
-20
No files matched your search
@@ -0,0 +1,41 @@
|
||||
package org.osmf.events
|
||||
{
|
||||
import flash.events.Event;
|
||||
|
||||
public class LoadEvent extends Event
|
||||
{
|
||||
|
||||
public static const LOAD_STATE_CHANGE:String = "loadStateChange";
|
||||
|
||||
public static const BYTES_LOADED_CHANGE:String = "bytesLoadedChange";
|
||||
|
||||
public static const BYTES_TOTAL_CHANGE:String = "bytesTotalChange";
|
||||
|
||||
private var _loadState:String;
|
||||
|
||||
private var _bytes:Number;
|
||||
|
||||
public function LoadEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = null, param5:Number = NaN)
|
||||
{
|
||||
super(param1,param2,param3);
|
||||
_loadState = param4;
|
||||
_bytes = param5;
|
||||
}
|
||||
|
||||
override public function clone() : Event
|
||||
{
|
||||
return new LoadEvent(type,bubbles,cancelable,loadState,bytes);
|
||||
}
|
||||
|
||||
public function get loadState() : String
|
||||
{
|
||||
return _loadState;
|
||||
}
|
||||
|
||||
public function get bytes() : Number
|
||||
{
|
||||
return _bytes;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user