5 Replies Latest reply on Dec 4, 2007 11:37 AM by mark416

    RemoteObject error detail need?

    mark416 Level 1
      Hi

      I have a code like this.

      <mx:RemoteObject
      id="myService"
      destination="ColdFusion"
      source="component.cfcs.firstProcess">

      <mx:method name="addPerson" result="hresult()" fault="hfault()"/>

      </mx:RemoteObject>

      <mx:Script>
      <![CDATA[

      import mx.controls.Alert;

      private function hresult():void{
      Alert.show("add ok")
      }

      private function hfault():void{
      Alert.show("add fail")
      }
      ]]>
      </mx:Script>

      I get popup error message "add fail", I want to know why the error happen,I already test the cfc with cfm code .it works fine.
      which object will show the error details.Thanks

      Mark