private var _hud:HUDc = new HUDc();
private function someMethod():void
{
if(stage.contains(_hud))
{
stage.removeChild(_hud);
}
}
Where HUDc extends MovieClip (along with the calling MovieClip) I'm not sure why Id be getting this error if I'm checking to see if the stage contains the movieclip?
Any takers?
Cheers