xml help looping through
can you please help me with some xml looping and sorting?
at this URL: Amherst Chamber of Commerce Events
contains an xml file that I have to work with.
I am trying to loop through it to grab the number of title tags/events and put them into an array. I need to build this dynamically because the number of events and titles can change at anytime.
here is what I have so far,
(I already have the code needed to download xml, the following code is after this point)
var myList1:XMLlist = myxml.channel;
for each (var title:XML in myList1)
{
trace(title)// this is not working, only traces 1st title in xml
//I probably need a nested loop here,
}
thanks in advance for your help.
