Hello,
Can anyone tell me how I can send two arrays from FLASH to CFMX, assign values
to them using CFMX (values from a query) and return them back to FLASH.
In other words, if I specify:
<cfparam name="FLASH.flash01_Array" type="array">
<cfparam name="FLASH.flash02_Array" type="array">
Where in my Action Script 2.0 code do I send these flash arrays when calling
my cf service and how (what is the syntax?)... If possible, please show an
example.
Please help.. Urgent....
Thanks
Vic
Keith Dodd - 25 Oct 2004 15:14 GMT
Vic
If I'm understanding your stituation, I *think* what you need is:
1. in the actionscript, define an object to hold the parameters you want to
pass:
var myParams:Object = new Object();
2. Make the arrays you want to pass a part of that object
myParams.arrayOne = whatever it is;
myParams.arrayTwo = whatever that one is;
3. Then call the service/method passing the object as param
Keith Dodd - 25 Oct 2004 15:16 GMT
Something submitted this before i finished:
3. Call service/method with obj as param
myRemoteService.getSuff(myParams)
4. Make sure the cfc is then prepared to receive this with whatever names you
assigned.
Hope this addresses your situation and helps
Keith