# Completely remove objects

**URL:** https://forum.kirupa.com/t/completely-remove-objects/230881
**Category:** Uncategorized
**Created:** [June 29, 2007, 5:16pm UTC](https://forum.kirupa.com/t/completely-remove-objects/230881 "2007-06-29T17:16:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![patrickjv](https://avatars.discourse-cdn.com/v4/letter/p/ce7236/32.png) [@patrickjv](https://forum.kirupa.com/u/patrickjv)
#### Post date: [June 29, 2007, 5:16pm UTC](https://forum.kirupa.com/t/completely-remove-objects/230881/1 "2007-06-29T17:16:17Z")

</div>

I read [http://www.kirupa.com/forum/showthread.php?p=2129547](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 = i_20;  
child_.y = i_20;  
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?
