RemoveChild from its own class

Hey guys! Here’s a noob question…

Simplified example: I have the following main.as


var mcPopUp:McPopUp = new McPopUp(); //correctly exported to actionscript with its own class...
addChild(mcPopUp);

McPopUp has its own class called McPopUp

McPopUp.as


public function McPopUp() {
trace("Working...mc is being shown on stage and this trace is traced correctly");
mcClosePopUp.addEventListener(MouseEvent.CLICK, onClosePopUp); //mcClosePopUp is another mc Inside mcPopUp, when being clicked...it should remove from stage the mcPopUp
}
        
function onClosePopUp(event:MouseEvent)
{
removeChild(this); //<-- this is not working...
}

Any ideas?
Thanks a lot!!