# removeMovieClip(); issue :( :(

**URL:** <https://forum.kirupa.com/t/removemovieclip-issue/274814>\
**Category:** Uncategorized\
**Created:** [November 5, 2008, 10:16am UTC](https://forum.kirupa.com/t/removemovieclip-issue/274814 "2008-11-05T10:16:29Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spookohoax180](https://avatars.discourse-cdn.com/v4/letter/s/e0b2c6/32.png) [@spookohoax180](https://forum.kirupa.com/u/spookohoax180)\
**Post date:** [November 5, 2008, 10:16am UTC](https://forum.kirupa.com/t/removemovieclip-issue/274814/1 "2008-11-05T10:16:29Z")

</div>

Greetings all,

Getting really frustrated with a problem and was wondering if anyone could help? I can’t seem to get removeMovieClip(); to work!

I have an if statement which loads a button from the library when the counter reaches 4.

I am trying to use the loaded button ‘song’ to remove the movie clip as well using an on on release funtion. Everything works fine except for ‘song.removeMovieClip();’.

Here is my code:

_[COLOR=red] if(counter == 4)[/COLOR]_  
_[COLOR=red] {  
this.attachMovie(“nexter”, “song”, this.getNextHighestDepth());  
this.song.\_x = 323;  
this.song.\_y = 415;[/COLOR]_  
_[COLOR=red][/COLOR]_  
_[COLOR=red]song.onRelease = function()  
{  
gotoAndPlay(53);  
song.removeMovieClip();  
}[/COLOR]_  
_[COLOR=red] }[/COLOR]_

Can anyone see any problems?
