Transform a button around : Button Effect « Components « 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 » Components » Button EffectScreenshots 
Transform a button around
Transform a button around
            

<mx:Application 
    xmlns:mx="http://www.adobe.com/2006/mxml" 
     xmlns:s="library://ns.adobe.com/flex/spark">
    
    <mx:Script>
        
            import mx.core.UIComponent;
            
            private function pushOverevt:MouseEvent ):void
            {
                var angle:Number = btn1.rotationZ + 90;
                btn1.transformAroundnew Vector3Dbtn1.width, btn1.height / ), null, new Vector3D00, angle ) );
            }
      
    </mx:Script>
    
    <mx:VBox>
        <mx:Button id="btn1" label="push over" click="pushOver(event);" />
    </mx:VBox>
    
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
1.Using the Move effect to move the button diagonallyUsing the Move effect to move the button diagonally
2.Button with rollOverEffect propertyButton with rollOverEffect property
3.Button with mouseDownEffectButton with mouseDownEffect
4.Button mouse down effectButton mouse down effect
5.Button creationCompleteEffectButton creationCompleteEffect
6.Button mouse down and mouse up effectButton mouse down and mouse up effect
7.Add SoundEffect to Button mouse down effectAdd SoundEffect to Button mouse down effect
8.Button WipeLeftButton WipeLeft
9.Use Matrix3D to Apply Transformations Within a LayoutUse Matrix3D to Apply Transformations Within a Layout
w__w__w__.ja__v_a_2__s_.___c_o__m___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.