removeChild, The Target Was not got!

Hi,
Ok Im trying to remove a child clip after a drag,
I manage to get the target name property,
But getChildByName fails me

note:
in the class thetargetName is a string
and tobeRemoved is a DisplayObject.

 
public function dropIt(event:MouseEvent)
{
 /////
 event.target.stopDrag();
 theTargetName = event.target.name;
 trace("target is ",theTargetName);
 
 tobeRemoved = getChildByName(theTargetName);
 ///try
 {  if (tobeRemoved )
  { trace ("target has been got ")}
  else 
  {trace("The Target was NOT got ");}
 }
 
 event.target.buttonMode = false;
 
}