Does this give you what you want?
for each(var item in test) {
for each(var colname in item) {
trace(colname);
}
}
--- In [email protected], "dinger0007" <[EMAIL PROTECTED]> wrote:
>
> I have a query result coming back from a webservice call and i want to
> pull the column names out of the results.
>
> I assumed that I can use the code below but can't figure how to
> pull the column names.
>
> If I do this, I get the data.
> test = new ArrayCollection( event.result as Array);
> for each(var item in test) {
> trace(item.Node1);
> }
>
> But how do I just get "Node1" and not the data.
>
> Thanks in advance..
>
--
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/