public function disableControl(event:MouseEvent):void {
event.currentTarget.enabled = false;
}
public function doSomething(event:MouseEvent):void {
b1.label = "clicked";
ta1.text += "1";
}
public function doSomethingElse(event:MouseEvent):void {
b2.label = "clicked";
ta1.text += "2";
}