2 Replies Latest reply on Feb 5, 2007 3:40 PM by Mark Forsberg

    RemoteObject & CFC Problem

    Mark Forsberg
      I have the ColdFusion Server and Flex source files on the same server. I am trying to call a CFC and use the data to populate a dropdown box. I got the following code off of a tutorial on the web.

      <mx:RemoteObject id="CustomerService"
      destination="ColdFusion"
      source="Flex.customerService.CFC.CustomerService"
      result="handleRemotingResult(event)"
      showBusyCursor="true"
      fault="errorHandler(event)">
      </mx:RemoteObject>

      When I attempt to compile my project I get the following error:

      Parse error: at '<mx:RemoteObject>'

      I have not idea on how to find the source of this problem. Any ideas are appreciated.
      Thanks.