# removeMovieClip

**URL:** <https://forum.kirupa.com/t/removemovieclip/259116>\
**Category:** Uncategorized\
**Created:** [May 1, 2008, 8:26am UTC](https://forum.kirupa.com/t/removemovieclip/259116 "2008-05-01T08:26:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![mozes](https://avatars.discourse-cdn.com/v4/letter/m/edb3f5/32.png) [@mozes](https://forum.kirupa.com/u/mozes)\
**Post date:** [May 1, 2008, 8:26am UTC](https://forum.kirupa.com/t/removemovieclip/259116/1 "2008-05-01T08:26:21Z")

</div>

How can I remove a playfield that I have created with attachmovie? The game that I make is minesweeper, so when I click on a bomb the playfield must dissapear!

I thought is was like the code below but it doesn’t work!

```auto
 for (i=0; i<wortel; i++) {
               this["square_mc"+i].removeMovieClip();
           }

```
