Change button alpha value when clicking the button
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Button id="button" label="Alpha Button" click="button.alpha -= .1" /> </mx:Application>