I read http://www.kirupa.com/forum/showthread.php?p=2129547 but still can’t manage to remove completely
I have a MC with linkage class “zzz”. MC has a square shape and 3 frames and in 3rd frame actions
trace(this.name);
stop();
When I put in main timeline actions
var i:int;
var child:Array = new Array();
for(i=1;i<=5;i++){
child* = new zzz();
addChild(child*);
child*.name = “child”+i;
child*.x = i20;
child.y = i20;
removeChild(child);
child* = null;
delete child*;
}
All 5 are visually removed but the trace actions within them still perform (“child1” to 5), so apparently they run/play anyway.
How to remove them properly? As you see I tried delete and setting to null but won’t help
anybody?