# How to delete a MC created with AS

**URL:** https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440
**Category:** Uncategorized
**Created:** [October 19, 2003, 3:07pm UTC](https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440 "2003-10-19T15:07:49Z")
**Posts on this page:** 4
**Page:** 1

<div class="post-metadata">

### Author: ![Rolf](https://avatars.discourse-cdn.com/v4/letter/r/94ad74/32.png) [@Rolf](https://forum.kirupa.com/u/Rolf)
#### Post date: [October 19, 2003, 3:07pm UTC](https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440/1 "2003-10-19T15:07:49Z")

</div>

Hi,

I have a movie containing a movieclip in which an empty movieclip is created with AS, showing an externally loaded pic.  
At the click of a button i want the pic to unload again, but it does’nt work. I tried removeMovieClip and Delete.  
How can i do this?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 19, 2003, 3:13pm UTC](https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440/2 "2003-10-19T15:13:17Z")

</div>

What code did you use exactly ?

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 19, 2003, 3:46pm UTC](https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440/3 "2003-10-19T15:46:52Z")

</div>

[AS]your\_mc.removeMovieClip();[/AS]

---

<div class="post-metadata">

### Author: ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)
#### Post date: [October 19, 2003, 3:51pm UTC](https://forum.kirupa.com/t/how-to-delete-a-mc-created-with-as/33440/4 "2003-10-19T15:51:52Z")

</div>

unloading would mean unloadMovie

removing the clips would be removeMovieClip… as DerickLemos posted
