Created
March 19, 2013 13:23
-
-
Save jbuda/5196066 to your computer and use it in GitHub Desktop.
Flash Remoting Gateway
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
package { | |
import flash.events.Event; | |
public class RemotingEvent extends Event { | |
public static const RESULT:String = 'onResult'; | |
public var params:Object; | |
public function RemotingEvent($type:String, $params:Object, $bubbles:Boolean=false, $cancelable:Boolean=false) { | |
super($type, $bubbles, $cancelable); | |
this.params = $params; | |
} | |
public override function clone():Event { | |
return new RemotingEvent(type, bubbles, cancelable, params); | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment