home *** CD-ROM | disk | FTP | other *** search
- package com.facebook.air
- {
- import flash.events.Event;
-
- public class JSONEvent extends Event
- {
- public static const SUCCESS:String = "success";
-
- public static const FAILURE:String = "failure";
-
- public var data:Object;
-
- public function JSONEvent(param1:String, param2:Object = null, param3:Boolean = false, param4:Boolean = false)
- {
- this.data = param2;
- super(param1,param3,param4);
- }
-
- override public function clone() : Event
- {
- return new JSONEvent(type,this.data.bubbles,cancelable);
- }
- }
- }
-
-