Removing a MovieClip from itself in AS 3.0

I would like to remove a dynamically attached movie clip from itself when its animation is done.

in AS 2.0, I had this at the end of the frame of the movie clip I would like to remove.


removeMovieClip("");

then in AS 3.0, I wrote below, which gives me an error.


parent.removeChild(this);

how can I removeMovieClip in AS3.0?

P.S. I attached my mc like below.


var new_mc:My_mc = new My_mc();
this.addChild(new_mc);