And don't overlook e4x expressions. It is rare that you need to loop if you have XML.
Tracy Spratt Lariat Services Flex development bandwidth available ________________________________ From: [email protected] [mailto:[email protected]] On Behalf Of Jason B Sent: Thursday, January 08, 2009 1:34 PM To: [email protected] Subject: [flexcoders] Re: looping xml structure Nevermind this works var tmp:String = xmlitems; if(tmp.indexOf("NOT PRESENT") > -1) trace("FOUND ITEM AT " + xmlitems); --- In [email protected] <mailto:flexcoders%40yahoogroups.com> , "Jason B" <nos...@...> wrote: > > I've so far got an xmlcollection > > using this code shows the xml code > > for each (var xmlitems in xmlcollection_data) > { > trace(xmlitems); > } > > but i'd like to know how to loop the collection and search for strings > etc.. any link to an example would be fine too, my googling for > "for loop xmllistcollection" > "loop xmllistcollection" > and many others turned sour >

