home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / air / update / events / StatusUpdateErrorEvent.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  954 b   |  30 lines

  1. package air.update.events
  2. {
  3.    import flash.events.ErrorEvent;
  4.    import flash.events.Event;
  5.    
  6.    public class StatusUpdateErrorEvent extends ErrorEvent
  7.    {
  8.       public static const UPDATE_ERROR:String = "updateError";
  9.       
  10.       public var subErrorID:int = 0;
  11.       
  12.       public function StatusUpdateErrorEvent(param1:String, param2:Boolean = false, param3:Boolean = false, param4:String = "", param5:int = 0, param6:int = 0)
  13.       {
  14.          super(param1,param2,param3,param4,param5);
  15.          this.subErrorID = param6;
  16.       }
  17.       
  18.       override public function toString() : String
  19.       {
  20.          return "[StatusUpdateErrorEvent (type=" + type + " text=" + text + " id=" + errorID + " + subErrorID=" + this.subErrorID + ")]";
  21.       }
  22.       
  23.       override public function clone() : Event
  24.       {
  25.          return new StatusUpdateErrorEvent(type,bubbles,cancelable,text,errorID,this.subErrorID);
  26.       }
  27.    }
  28. }
  29.  
  30.