0 Replies Latest reply on Nov 7, 2008 4:07 AM by nikos101

    Putting <mx:result> tags in a <mx:method> doesn't seem to work:

    nikos101 Level 2
      Im trying to save coding time:

      Putting <mx:result> tags in a <mx:method> doesn't seem to work:

      <mx:RemoteObject
      id="myService"
      destination="ColdFusion"
      source="cc"
      showBusyCursor="true">
      <mx:method name="addDeal" fault="Alert.show(event.fault.message)">
      <mx:result>
      <![CDATA[
      dispatchEvent(new Event("dealAdded",true)); //the main application then updates the data model
      ]]>
      </mx:result>

      </mx:method>