This content has been marked as final. Show 3 replies
RemoteObject is not comparable to ArrayCollection. RemoteObject and WebServices both receive data in many different formats, Arrays, ArrayCollections (if typing is right, like queries), objects, strings, number,....)
If you are using CFC's you can use the same CFC as a WebService and RemoteObject try playing around connecting to the same CFC and see the difference between RemoteObject and the WebService type conversioning.
I got that part down. I want to send a variable to the CFC how do you do that? I have a URL like test.swf?SupplierID=430
Then I want it to be passed into the CFC before or with the RemoteObject. How can I do this? Can you show me an example. I have been trying for more than a week.
In a remote object class all you do is something like
<mx:Application xmlns:mx=" http://www.adobe.com/2006/mxml"
creationComplete="roService.getItems( 234, 'asdf' )">
result="getItems_onResult( event )" />