Mega Code Archive

 
Categories / Flex / Effects
 

Two Resize effects for a Button control

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:Resize id="myResizeUp" widthBy="50" heightBy="50" duration="200" />     <mx:Resize id="myResizeDown" widthBy="-50" heightBy="-50" duration="200" />     <mx:Button id="myButton" mouseDownEffect="{myResizeUp}" mouseUpEffect="{myResizeDown}" /> </mx:Application>