[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread thunderstumpgesatwork
event.result must not be an array. when you are assigning it as Array it is returning null. use the debugger to determine the actual datatype of event.result. I would guess it is an ArrayCollection, not an Array. But it could be some other kind of list or object too. (XMLList, etc). Hard to tell

[flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread Geoffrey Williams
'event.result as Array' is returning null because event.result is not an Array. Is it an ArrayCollection or XML/XMLList perhaps? --- In flexcoders@yahoogroups.com, Greg Morphis [EMAIL PROTECTED] wrote: I'm playing around with a remote object and in the handleResult function Flex is giving me

Re: [flexcoders] Re: Error 1009 in Flex 2

2006-09-08 Thread Greg Morphis
Yeah, thats it.. it's not an Array, it's an Object.. once I changed that around it starting working fine. Thanks! On 9/8/06, thunderstumpgesatwork [EMAIL PROTECTED] wrote: event.result must not be an array. when you are assigning it as Array it is returning null. use the debugger to