Remove unknown named movieclips

Hello All,

I have a problem in that I want to remove a number of movie clips that I don’t know the name of. The actual data that determines each attached movie clip is got from an XML file so its contents could vary. Heres an example of the code I’ve got to attach each movie from within a ‘for loop’:

cityName = attachMovie(“cityName”, “cityName_”+t, 10+t);

+t itself could go up to any number up to 15 in total. Is there any way I can globally remove movie clips of this type in one line.

Failing that is there anyway I can target the attachMovie to load these seperate clips into a container of their own and then just remove the referenced movieClip with all the attached movies inside it in one throw?

Any help with this would be great appreciated.

Many thanks, amp3