Pull a variable from a public function in class

What would be the scoping to reach a variable within a external class public function FROM a function on the main timeline?

In menu.as

public function buttonClick()
Need to reach a starFunction variable(var starFunction = such and such.@fn) within an if statement within buttonClick function.

On main timeline

(menu.as declared on first frame main timeline as var menuH:Menu = new Menu():wink:

In function aboutUs()
here is where I need to use that variable for an if statement

??? The many variations of —trace(this.parent.menuH.starFunction);— doesn’t work. Is it possible?