Sent: Wednesday, March 10, 2010 4:46 PM
To: flexcoders@yahoogroups.com
Subject: [flexcoders] Re: HTTPService not returning ArrayCollection...
I discovered that (event.result.people.person.source != null) when the
result is an ArrayCollection. So I used that in an if statement so I could
I use new ArrayCollection(ArrayUtil.toArray(event.result)). It works for 1 or
more items in the result.
--- In flexcoders@yahoogroups.com, Laurence lmacne...@... wrote:
I'm trying to read data from an XML file, and put that data into an
ArrayCollection.
This works great when I have more
I discovered that (event.result.people.person.source != null) when the result
is an ArrayCollection. So I used that in an if statement so I could choose
simply to set my variable equal to the result, or if I had to
variable.addItem() the result.
Your way is much neater. I'll give that a try,
3 matches
Mail list logo