Nevermind this works var tmp:String = xmlitems; if(tmp.indexOf("NOT PRESENT") > -1) trace("FOUND ITEM AT " + xmlitems);
--- In flexcoders@yahoogroups.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 >