hey tpann
you could either set the names of the sprites:
head0x.name = "head0x";
then Felixz’s should work
or
you could create an array with references directly to all the heads and delete them there:
private var headArr:Array = new Array();
private var head0x:Sprite;
addChild(head0x);
headArr.push(head0x);
etc.[COLOR=#000000][COLOR=#007700][/COLOR][/COLOR]
and then to delete
for(var i = 0; i < headArr.length; i++){
this.removeChild(headArr*;
}
hth