What is the equivalent to `removeMovieClip()` in AS3?

Apparently many have the same question:  

StackOverflow: 

1. [How to completely remove a movieclip in as3](https://stackoverflow.com/questions/1102176/how-to-completely-remove-a-movieclip-in-as3)
2. [Remove movie clip as3](https://stackoverflow.com/questions/2253803/remove-movie-clip-as3)
3. [How to remove childmovieclip and add to new parent movieclip](https://stackoverflow.com/questions/939115/how-to-remove-childmovieclip-and-add-to-new-parent-movieclip)

Others:

1. [removeMovieClip(this) in AS3?](http://board.flashkit.com/board/showthread.php?t=748039)
2. [Destroy/Delete a Movieclip???](http://board.flashkit.com/board/showthread.php?t=590100)
3. [Remove movie clip](http://www.actionscript.org/forums/showthread.php3?t=141528)

But none of their solutions seem to work, for me:

Im working on **flash CS4** with **AS3**:

I have a very simple movie with a single button called *click*. On pressing the button, a new instance of *coin* is created:

```
this.click.addEventListener(MouseEvent.CLICK,justclick);
function justclick(e:MouseEvent){
    var money=new coin
    this.addChild(money)
    money.x=e.stageX
    money.y=e.stageY
}

```

It might not be the best code, but it works fine. Now, the coin MovieClip is supposed to show a small animation and remove itself. In good old AS2 I would have added:

```
this.removeMovieClip()

```

in the last frame of the animation. But this doesn't exist in AS3.  

I have tried, without success:

```
this.parent.removeChild(this) // 'Cannot access a property or method of nullobject reference'...     

this.removeMovieClip() // 'removeMovieClip is not a function'      

removeMovieClip(this) //'call to possibly undefined method removeMovieClip'       

unloadMovie(this)//'call to possibly undefined method removeMovieClip'       

```

Solutions?

Thanks,