Help with Senocular's TopLevel class accessing stage

Hello,
Hope your Sundays is going well :slight_smile: 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) 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

 trace(TopLevel.stage.HB1); 

I also tried


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.