[flexcoders] Access data in an Array Collection??

2007-01-15 Thread malik_robinson
Hi, I have a cfc that returns this query object to flex. It seems to convert it to an ArrayCollection? Is that correct? Questions 1. How can I get at the email field in this array? 2. How can I check if the array has a len greater than 0? I tried: trace(event.result.email), but that does

Re: [flexcoders] Access data in an Array Collection??

2007-01-15 Thread Simeon Bateman
Hey Malik, To access the email field it looks like you are close. the problem is likely a case-sensitivity issue. If you are using flex builder I would put a break on the line with the trace, and then inspect the event.resultproperty. Then you can see what the field names are in the