for example:
package{
public class A {
var test:String;
public function A()
}
开发者_如何学Python
}
class B{
}
the code is in the same file, we call B is inner class, then how to call the constructor of class B
package { public class A { var test:String; public function A() { var b:B = new B(); } } } class B { public function B() { trace('class B'); } }
精彩评论