How to access displayObjects in frame 2

Hi,

I having trouble getting a reference to a displayObject in frame 2.

I defined the document class in which I save a reference to the stage.

In frame 2, i want to access a displayObject that has already been placed on the stage with the instance name: “obj1” like this:


trace( _stageRef.getChildByName("obj1") );

but i keep getting null?
What am I doing wrong?