mirror of
https://github.com/burrow-dev/burrow-server.git
synced 2026-11-19 09:37:50 -05:00
36 lines
749 B
ActionScript
36 lines
749 B
ActionScript
package com.sbi.loader
|
|
{
|
|
import flash.events.Event;
|
|
|
|
public class FileServerEvent extends Event
|
|
{
|
|
|
|
public static const ON_NEW_DATA:String = "OnNewData";
|
|
|
|
public static const JSON_TYPE:int = 0;
|
|
|
|
public static const PLAIN_TEXT_TYPE:int = 1;
|
|
|
|
public static const AMF3_TYPE:int = 2;
|
|
|
|
public var id:uint;
|
|
|
|
public var data:*;
|
|
|
|
public var success:Boolean = true;
|
|
|
|
public var contentType:int = 0;
|
|
|
|
public function FileServerEvent(type:String)
|
|
{
|
|
super(type);
|
|
}
|
|
|
|
override public function clone() : Event
|
|
{
|
|
return new FileServerEvent(type);
|
|
}
|
|
}
|
|
}
|
|
|