Removing a movieclip completely

Hi,

How do I completely remove a movieclip? I am able to create a moviecilp, then add it to the stage with addChild(), then I am able to remove it from the display list by using removeChild()

However, the movieclip is still present. Here’s what I did.

I created a movieclip… which has a trace on the 10th frame : trace(“Movieclip still exists”)

On the 20th frame I have : a reference to a function which is on the document class
This function is this

function removeMC():void{
     removeChild(mc)
    mc = null;
}

After setting up all the linkages I create and add the movieclip onto the stage

var mc:ballmovieclip = new ballmovieclip()
addChild(mc)

What should happen… is that the movieclip will be created and added to the stage… It will play through it’s frames til it hits 10 , at which then it outputs the trace message, continuing on… til frame 20, it calls the function to remove the movieclip from the displaylist which it does… However, the movieclip keeps playing and keeps on sending out the trace messages.

I thought since the movieclip was removed from the stage… it would not continue to play through it’s frames… but it does…

How do I get rid of the movieclip completely so this doesn’t happen?

Thanks.