package{
import flash.display.Sprite;
publicclass Main extends Sprite{
public function Main(){
var bInstance = new B( );
bInstance.s(); // Error
}
}
}
class A {
publicstatic function s ( ) {
trace("A.s( ) was called");
}
}
class B extends A {
public function B ( ) {
}
}