Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
protected function get subComponent():SubComponent { return viewComponent as SubComponent; }override public function listNotificationInterests():Array { return [ApplicationFacade.RESULT_FROM_PROXY_SUCCESS] } override public function handleNotification( note:INotification ):void { switch ( note.getName() ) { case ApplicationFacade.RESULT_FROM_PROXY_SUCCESS: //let's call the subcomponent function subComponent.myFunction(); break; } }
private function getResult(event: ResultEvent):void { CursorManager.removeBusyCursor(); // notify all interested members sendNotification(ApplicationFacade.RESULT_FROM_PROXY_SUCCESS); }