Assuming Main
is your document class, you could do this a few different ways.
As mentioned in another answer, make your variable public. Then access it like so:
Main(root).MazeNr1
Make it a static variable
public static var MazeNr1:Level; public function Main():void { MaxeNr1 = new Level(); //rest of your constructor code }
Then you can access it in any scope simply by doing this:
Main.MazeNr1