2 Replies Latest reply on Sep 4, 2006 3:01 PM by nyfeman

    RemoteObject in ActionScript Syntax?

    nyfeman Level 1
      Hey all --

      What is the correct syntax for sending an argument to a CFC via ActionScript?

      In other words, I want to put something like the following purely into AS:

      <mx:RemoteObject id="svcLogin" destination="ColdFusion" source="SPTRoster" result="openDoor(event)" fault="Alert.show(event.fault.message)" showBusyCursor="true">
      <mx:method name="setData">
      <mx:arguments>
      <userName>{userName.text}</userName>
      <pWord>{password.text}</pWord>
      </mx:arguments>
      </mx:method>
      </mx:RemoteObject>

      There's an example in the documentation (Right Here) but I'm not understanding how to send my argument to the cfc.

      Thanks,
      Al