0 Replies Latest reply on Jan 5, 2012 4:50 AM by jfb00

    Remote objects fault

    jfb00 Level 3

      Hi all,

      I have remote object with different methods in my form, I am using fault to track errors for each method like:


      <s:RemoteObject id="my_RO" destination="ColdFusion" source="cfcPath">

           <s:method name="getQuerySample1" result="getQuerySample1_Handler(event)" fault="error_Handler(event)"/>

           <s:method name="getQuerySample2" result="getQuerySample2_Handler(event)" fault="error_Handler(event)"/>

           <s:method name="getQuerySample3" result="getQuerySample3_Handler(event)" fault="error_Handler(event)"/>


      private function error_Handler(event:FaultEvent):void{





      I do call all methods at the same time. If I got an error in the first call it shows the error but after clicking on OK from Alert box it continues to the next call.

      How can I stop the rest of the calls? my_RO.disconnect() is not working.