Mega Code Archive

 
Categories / Flex / Components
 

Using the Move effect to move the button diagonally

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"     backgroundColor="white">     <mx:Move id="myEffect" xBy="50" yBy="50" />     <mx:Button label="Click on me" mouseDownEffect="{myEffect}" /> </mx:Application>