Access dynamic movieclip

function LoadXML(e:Event):void {
xmlData = new XML(e.target.data);
var list:XMLList = xmlData.snipper;
num = list.length();
for(var i:Number = 0; i<aantal;i++){
container = new Container();
container.name = “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
l.x=0;
l.y=-40;
container.addChild(l);
addChild(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:

-Dardein