I have a large bunch of RemoteObject calls in the code; similar to
this;

<mx:RemoteObject id="RO" showBusyCursor="true" destination="Dest1" >
                <mx:method name="meth1" result="result1(event)" fault="fault1
(event)"></mx:method>
                <mx:method name="meth2" result="result2(event)" fault="fault2
(event)"></mx:method>
</mx:RemoteObject>

Methods themselves have fault event handlers associated; but not the
remote objects;

Is there any way; where I can add a Global RemoteObject Fault Handler
in the applicationComplete or init event of the application?

I understand that I can add faulthandler to RemoteObject itself; but
there are large number of RemoteObjects in the code;

I am trying to find a way to suppress the SendFailed error that
appears when a back-end server goes down; while the app is still
loaded in the browser; When a flex app is still open in a client
browser; and if the back-end application goes down for a while; a
SendFailed Error appears on screen;

I assume; if a global fault handler is added; I can show a custom pop-
up rather than the cryptic Flex message to the end-user.

  faultCode = "Client.Error.MessageSend"
  faultDetail = "Channel.Connect.Failed error
NetConnection.Call.Failed: HTTP: Status 404: url: 'http://localhost:
8080/WebContent/messagebroker/amf'"
  faultString = "Send failed"




--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups "Flex 
India Community" group.
To post to this group, send email to flex_india@googlegroups.com
To unsubscribe from this group, send email to 
flex_india+unsubscr...@googlegroups.com
For more options, visit this group at 
http://groups.google.com/group/flex_india?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to