Over 10 years of community discussion and knowledge are maintained here as a read-only archive.
...facade.registerCommand(SystemConfigProxy.LOADED, LoadupResourceLoadedCommand);facade.registerCommand(SystemConfigProxy.FAILED, LoadupResourceFailedCommand);...
override public function listNotificationInterests():Array { return [ SystemConfigProxy.LOADED, SystemConfigProxy.FAILED, ... ]}//andoverride public function handleNotification(notification:INotification):void { var name:String = notification.getName(); var body:Object = notification.getBody(); var type:String = notification.getType(); switch (name) { case SystemConfigProxy.LOADED: { startUpMessage += name + "\n"; break; } case SystemConfigProxy.FAILED: { startUpMessage += name + "\n"; break; } ... case LoadupMonitorProxy.LOADING_FINISHED_INCOMPLETE: { Alert.show("One or more necessary resources could not be loaded:\n" + startUpMessage, "Application Startup failure"); break; } case LoadupMonitorProxy.LOADING_COMPLETE: { Alert.show("All necessary resources were loaded:\n" + startUpMessage, "Application Startup"); break; } }}