xmlns:s="library://ns.adobe.com/flex/spark"
xmlns:mx="library://ns.adobe.com/flex/mx">
public function handleClick():void {
text1.text="Thanks for the click!";
}
click="handleClick();" />