Delete instance of class from class' method

So I have a class called Unit. When I use this class in a .fla file, I create it by saying:

var unit00:Unit = new Unit(…);

So then it creates a gfx representation of the screen for me. I would like to have a method like this:


public function remove ():Void {
   unit_mc.removeMovieClip();
   //deleting the gfx representation of the class in the .fla
   delete instance of this;
   //I want to delete the variable that references the instance of this class
}

So how do I get this to work? I know that delete this will not work when defined inside the class. How do I target the .fla’s instance name when I don’t know what it will be called?

Thanks for any assistance