Use CSS to set Button fade effect
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"> <mx:Style> @namespace mx "http://www.adobe.com/2006/mxml"; mx|Button { mouseDownEffect: myFadeOut; mouseUpEffect: myFadeIn; } </mx:Style> <mx:Fade id="myFadeOut" alphaFrom="1" alphaTo="0" /> <mx:Fade id="myFadeIn" alphaFrom="0" alphaTo="1" /> <mx:Button label="Button 1" /> </mx:Application>