/ Published in: ActionScript 3
Expand |
Embed | Plain Text
public class KeywordEvent extends Event { public static const KEYWORD_MESSAGE:String = 'keywordMessage'; public function KeywordEvent() { super(KEYWORD_MESSAGE); } } [Event( name = "keywordMessage", type="KeywordEvent" )] public class ImageController extends EventDispatcher { public function getKeywordResult():void { dispatchEvent(new KeywordEvent()); } } public class ImageSession { [Command(selector="keywordMessage")] public function getKeywordSearch(event:KeywordEvent):AsyncToken { return token; } }
You need to login to post a comment.
