removeMovieClip(); issue :( :(

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?