handling Array returned from Web Service
Okay, so I followed this handy tutorial and everything works great. I'm using a Text Field component to pass the parameter (in this case a 'word') and a Text Area component is bound to the result (the 'definition'). All is good....
This works because the result is a String (which displays correctly when returned to the Text Area obviously). Now, I want to receive an Array as the result instead of a simple String. No surprise, the Array isn't displayed correctly in the Text Area..... it simply says "[object Object]". Can't do much with that....How can I receive this web service "result" in useful form? Can I use AS2 to set the value of an Array variable as the result from the web service (once it's finished)? If so, what's the syntax? FYI: I already know how to tell when the web service is done, just need the syntax for binding an Array variable to the result of the web service.
Note: The Dictionary web service from the tutorial (http://services.aonaware.com/DictSer...vice.asmx?WSDL) does have a method, Define(), that returns an Array as a result..... so use that if you'd like to help me out.
Thanks in advance for any help. Greatly appreciate it, you guys are always so awesome.