No it gave me the actual data. But thanks allot for the response.
Here is what i have finally come up with:
for(var i in test){
for(var j in test[i]){
trace(j);
}}
My initial thought about flex and actionscript:
It is a hard road getting to the solution but once there it is such a
simple answer.
Thanks everybody!
--- In [email protected], "Doug Lowder" <[EMAIL PROTECTED]> wrote:
>
> 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" <scot.hershman@> 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/