# Removing a movie clip

**URL:** <https://forum.kirupa.com/t/removing-a-movie-clip/51669>\
**Category:** Uncategorized\
**Created:** [May 15, 2004, 12:30pm UTC](https://forum.kirupa.com/t/removing-a-movie-clip/51669 "2004-05-15T12:30:34Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![iloveitaly](https://avatars.discourse-cdn.com/v4/letter/i/7ea924/32.png) [@iloveitaly](https://forum.kirupa.com/u/iloveitaly)\
**Post date:** [May 15, 2004, 12:30pm UTC](https://forum.kirupa.com/t/removing-a-movie-clip/51669/1 "2004-05-15T12:30:34Z")

</div>

I am trying to get rid of movieclip that contains all my form fields when the form is submitted.  
I have it set to do the following:

```auto

onClipEvent (data) {
this.removeMovieClip()
}

```

It seems that the removeMovieClip() command only really works with dynamicially created movie clips. is that correct?  
Is there another way to get rid of a movie clip?
