public class asdfasdf extends Sprite
{
public fuction asdfasdf ()
{
var button:SimpleButton = new SimpleButton()
button.addEventListener(MouseEvent.CLICK, onMouseClick);
}
private function onMouseClick(event:MouseEvent):void
{
trace("test");
}
}
程序大概就是这样啦,为什么不能响应单击事件呢?是类的继承问题么?