Hi! I have an ArrayCollection object returned from a RemoteObject call
and I need some help getting the data out of the collection.
What is the syntax to iterate through the collection and pick out the
data items I need.
<mx:ArrayCollection id="myCollection"
source="{remoteObject.get.lastResult}" />
In my actionScript, how do I access myCollection? I've tried
getItemAt() but am not sure whether I specified the right parms.
I've tried:
var msg:String;
msg = myCollection.getItemAt(0);
Nothing seems to work. I can see the ArrayCollection object in the
debugger and it contains the data I need, which is a mixture of
numbers and strings. Help!
Any pointers greatly appreciated! Thanks in anticipation!
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
Yahoo! Groups Links
<*> To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/
<*> To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
<*> Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/