xmlns:mx="library://ns.adobe.com/flex/mx" xmlns:s="library://ns.adobe.com/flex/spark">
private function showHandler():void {
myButton2.enabled=true;
myButton1.enabled=false;
}
private function hideHandler():void {
myButton2.enabled=false;
myButton1.enabled=true;
}
duration="1000" effectEnd="hideHandler();">
duration="1000" effectEnd="showHandler();">
click="fadeResizeHide.end();fadeResizeHide.play();" />
click="fadeResizeShow.end();fadeResizeShow.play();" />