( Example code taken from:
http://livedocs.adobe.com/flex/201/html/charts_intro_108_12.html )
Here is the dataset I am trying to work with:

<data>
    <result month="Jan-04">
        <apple>81768</apple>
        <orange>60310</orange>
        <banana>43357</banana>
    </result>
    <result month="Feb-04">
        <apple>81156</apple>
        <orange>58883</orange>
        <banana>49280</banana>
    </result>
</data>

The flex code will look like this:
<mx:HTTPService
     id="srv"
     url="../assets/data.xml"
     useProxy="false"
     result="myData=ArrayCollection(srv.lastResult.data.result)"
  />


How can I interrogate the ArrayCollection named myData so that it will
return apple, orange, and banana ?
I am not looking to get the numerical values, I want to get the xml name.

-Thanks
Steve More

Reply via email to