home *** CD-ROM | disk | FTP | other *** search
/ Computer Active 2010 August / CA08.iso / Multimedija / shufflr.air / ShufflrClient.swf / scripts / com / facebook / air / JSONEvent.as < prev    next >
Encoding:
Text File  |  2010-06-23  |  634 b   |  26 lines

  1. package com.facebook.air
  2. {
  3.    import flash.events.Event;
  4.    
  5.    public class JSONEvent extends Event
  6.    {
  7.       public static const SUCCESS:String = "success";
  8.       
  9.       public static const FAILURE:String = "failure";
  10.       
  11.       public var data:Object;
  12.       
  13.       public function JSONEvent(param1:String, param2:Object = null, param3:Boolean = false, param4:Boolean = false)
  14.       {
  15.          this.data = param2;
  16.          super(param1,param3,param4);
  17.       }
  18.       
  19.       override public function clone() : Event
  20.       {
  21.          return new JSONEvent(type,this.data.bubbles,cancelable);
  22.       }
  23.    }
  24. }
  25.  
  26.