package{ public class A { var test:String; public function A() } } class B{ }
代码在同一个文件中,我们调用B是内部类,那么如何调用B类的构造函数
package { public class A { var test:String; public function A() { var b:B = new B(); } } } class B { public function B() { trace('class B'); } }