Resizing a button that starts small and grows bigger
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white"> <mx:Resize id="myEffect" heightFrom="0" heightBy="50" /> <mx:Button label="Click on me" mouseDownEffect="{myEffect}" /> </mx:Application>