Rotating the button 45 degrees : Rotate « Event « Flex

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Event » RotateScreenshots 
Rotating the button 45 degrees
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>

   
    
    
    
    
    
    
    
  
Related examples in the same category
1.Rotate and MoveRotate and Move
2.Rotate image around z-axis, with applyChangesPostLayout property set to false.Rotate image around z-axis, with applyChangesPostLayout property set to false.
3.Rotate after Button creation completedRotate after Button creation completed
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.