# Help with Senocular's TopLevel class accessing stage

**URL:** <https://forum.kirupa.com/t/help-with-senoculars-toplevel-class-accessing-stage/237689>\
**Category:** flash\
**Created:** [September 2, 2007, 5:17pm UTC](https://forum.kirupa.com/t/help-with-senoculars-toplevel-class-accessing-stage/237689 "2007-09-02T17:17:38Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Psaldorn](https://avatars.discourse-cdn.com/v4/letter/p/22d042/32.png) [@Psaldorn](https://forum.kirupa.com/u/Psaldorn)\
**Post date:** [September 2, 2007, 5:17pm UTC](https://forum.kirupa.com/t/help-with-senoculars-toplevel-class-accessing-stage/237689/1 "2007-09-02T17:17:38Z")

</div>

Hello,  
Hope your Sundays is going well 🙂 Mine isn’t… I;ve been struggling with Senocular’s TopLevel class usage. A quick overview is that my Document Class extends TopLevel and makes th static variables (as per [Senocular’s post](http://www.kirupa.com/forum/showthread.php?p=1952513)) and then I have some remoting classes that fetch things from my database. I can use the TopLevel to access [object Stage] but when I try to access anything on that it just says ‘1119: Access of possibly undefined property HB1 through a reference with static type flash.display:Stage’ compile-time error - this is when using

```auto
 trace(TopLevel.stage.HB1); 

```

I also tried

```auto

var TL = TopLevel.stage;
trace(TL.HB1);

```

which gives me “ReferenceError: Error #1069: Property HB1 not found on flash.display.Stage and there is no default value.  
at Remoter/::healthUpdate()” Run-time error.

AM i missing some interim property that stores the actual objects? There is an instance of the target on the stage with instance name of “HB1” and I can access it from the Document Class with just “trace(HB1);”

I can’t just pass a reference directly, and I can’t find anyone with issues regarding Senocular’s code, so I guess I’m just missing something. the describeType() result for the TopLevel.stage (called from non-document class) doesn’t enlighten me, lots of properties but none seem to relate to much.

Any help gratefully received!

Edit: I have also tried playing with the linkages but didn’t entirely understand what it meant, so left it with nothing ticked, but none of the settings seemed to help.
