Transform around Vector3D : Vector3D « Graphics « 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 » Graphics » Vector3DScreenshots 
Transform around Vector3D
Transform around Vector3D
           
<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 var newAngle:Number = 0;

            private function pushAroundevt:MouseEvent ):void
            {
                newAngle += 90;
                btn2.transformAroundnew Vector3Dbtn2.width / 2, btn2.height / ), null, null, null, 
                    null, new Vector3D00, newAngle ) );
            }
      
    </mx:Script>
    
    <mx:VBox>
        <mx:Button id="btn2" label="push around" click="pushAround(event);" />
    </mx:VBox>
    
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  
Related examples in the same category
w___w___w___.__ja__va2___s___.c___om___ | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.