# removeMovie();

**URL:** https://forum.kirupa.com/t/removemovie/251540
**Category:** programming
**Created:** [February 9, 2008, 10:49pm UTC](https://forum.kirupa.com/t/removemovie/251540 "2008-02-09T22:49:17Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![jose3760](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/jose3760/32/2887_2.png) [@jose3760](https://forum.kirupa.com/u/jose3760)
#### Post date: [February 9, 2008, 10:49pm UTC](https://forum.kirupa.com/t/removemovie/251540/1 "2008-02-09T22:49:17Z")

</div>

Hello, Im having trouble figuring out how to remove an attached movieclip (Code below for attaching). Its being attached inside of a function on the frame, and needs to be removed inside of another function.

```auto

_root.powerup = this.attachMovie("powerup", "powerup", -2);

```

Thanks,  
Joseph
