package{ import flash.display.Sprite; public class Main extends Sprite{ public function Main(){ trace(ScopeTest.foo); // Displays: bar } } } class ScopeTest { public static var foo:String = "bar"; }