# removeMovieClip?

**URL:** <https://forum.kirupa.com/t/removemovieclip/161093>\
**Category:** Uncategorized\
**Created:** [August 31, 2005, 9:05pm UTC](https://forum.kirupa.com/t/removemovieclip/161093 "2005-08-31T21:05:02Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lord\_Rahl](https://avatars.discourse-cdn.com/v4/letter/l/a87d85/32.png) [@Lord\_Rahl](https://forum.kirupa.com/u/Lord_Rahl)\
**Post date:** [August 31, 2005, 9:05pm UTC](https://forum.kirupa.com/t/removemovieclip/161093/1 "2005-08-31T21:05:02Z")

</div>

Hi, I just tried out the removeMovieClip function and it doesn’t seem to be working. Any ideas? this is what I had for a code.

```auto

onClipEvent(enterFrame){
 if(_root.square.hitTest(this)){
  this.removeMovieClip();
  _root.boxs-=1;
 }
}

```

boxs is a synamic text field.  
I have tried removeMovieClip(this); and more. But so far nothing has worked.
