marks416
|
|
« on: December 09, 2008, 10:28:21 » |
|
I have the code in same file that is a mediator
static public const SEND_MESSAGE:String = "sendMessage";
routeNotification(SEND_MESSAGE, null, null, "*");
public function respondToSendMessage(note:INotification):void { trace("respondToSendMessage"); }
I already add the code in main page
override public function getClassByName(path:String):Class { return getDefinitionByName(path) as Class; }
But I do not know why I can not handle the notification in respondToSendMessage. I can not trace message after I call routeNotification.
Please help me
Thanks
Mark
|