layout="absolute" creationComplete="initFunc()">
import mx.controls.Alert;
public function initFunc():void
{
thisButton.addEventListener("click",clickFunction);
}
public function clickFunction(event:Event):void
{
var message:String = "you clicked me! " + event.target.label;
Alert.show(message,"Event Test");
}