Access dynamic movieclip

function LoadXML(e:Event):void {
xmlData = new XML(;
var list:XMLList = xmlData.snipper;
num = list.length();
for(var i:Number = 0; i<aantal;i++){
container = new Container(); = “snipper”+ i;
container.Tekst.text = list*.@snippertekst; \Tekst = dynamic text fld in container
var l:Loader = new Loader();
l.load(new URLRequest(list*.@image));\puts xml loaded image in container

Hello all. I add alot of containers to the stage, but I would like to be able to remove the containers again outside the function.
I was thinking that I could maby write removeChild(snipper1), but I can’t acces them after they are created ?

Any help would be much appreciated :slight_smile: