addChild to stage instance from static class?

Hello !

Here’s my issue. I need to know when an element is added to the stage (using main document class). So i use :

 public override function addChild(__child:DisplayObject):DisplayObject{
	super.addChild(__child);
	trace("child added");			
	return __child;
}

Which works fine. I also use a static class, to which i pass the stage using :

public static function setStage(__stage:Stage):void{
	_stage = __stage;
}

But if i add to the stage (_stage) a MovieClip from the static class, my “real” stage doesn’t seem to get that something was added. So i guess _stage !== stage.
So why is this happening, why is _stage not getting the methods of stage ?

Thanks :slight_smile: