not going to errorlistener
I'm making,with a friend, a mobile application at this moment for our thesis. We're using spring actionscript to get data from the server. We're doing this with commands.
Now our problem is that if we want to refresh our page. We also want to detect if there's stil internetconnection. If not we want to show a messagebox.
So we add an addErrorListener to our command:
When we debug and plug out ethernetcable and hit refresh he never goes into our refresh_errorHandler function. But in our console we can see that we have an ERROR:
protected function refreshImage_clickHandler(event:MouseEvent):void
var cmd:LoadStartupDataAfterLoginCommand=new LoadStartupDataAfterLoginCommand(ServiceLocator.getInstance().context);
Can anybody help us?
ERROR - TMSNG.Service - Error during server communication on method 'getAvailableEventTypes': [RPC Fault faultString="error" faultCode="Channel.Call.Failed" faultDetail="NetConnection.Call.Failed: HTTP: Failed"]