Rotating the button 45 degrees
<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" backgroundColor="white"> <mx:Rotate id="myEffect" angleTo="45" /> <mx:Button label="Click on me" mouseDownEffect="{myEffect}" /> </mx:Application>