# removeChild (mc)

**URL:** <https://forum.kirupa.com/t/removechild-mc/296319>\
**Category:** flash\
**Created:** [September 13, 2009, 2:15pm UTC](https://forum.kirupa.com/t/removechild-mc/296319 "2009-09-13T14:15:58Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Geki](https://avatars.discourse-cdn.com/v4/letter/g/cab0a1/32.png) [@Geki](https://forum.kirupa.com/u/Geki)\
**Post date:** [September 13, 2009, 2:15pm UTC](https://forum.kirupa.com/t/removechild-mc/296319/1 "2009-09-13T14:15:58Z")

</div>

Ok so I made this “snow” script

```auto

stage.addEventListener(Event.ENTER_FRAME, blop);

function blop(e:Event):void {

var newCircle:BlueCircle = new BlueCircle();
this.addChild(newCircle);

newCircle.scaleX = Math.random();
newCircle.scaleY = newCircle.scaleX;

newCircle.x = Math.random()*550;
newCircle.y = 420;

newCircle.addEventListener(Event.ENTER_FRAME, goUp);
}

function goUp(e:Event):void {

var circleMC:MovieClip = MovieClip(e.target);

circleMC.y -= 3;

if (circleMC.y < 0) {
circleMC.removeEventListener(Event.ENTER_FRAME, goUp);
}
}

```

Now in the end where I got the “circleMC.removeEventListener(Event.ENTER\_FRAME, goUp);” I’d like to also completely remove the MC from the stage.  
Help please
