Use Rotate effect : Rotate Effect « Effects « 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 » Effects » Rotate EffectScreenshots 
Use Rotate effect
Use Rotate effect
   
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        

            private function applyEffect(event:Event):void {
                rotateEffect.target = event.currentTarget;
                rotateEffect.originX = event.currentTarget.width / 2;
                rotateEffect.originY = event.currentTarget.height / 2;
                rotateEffect.play(  );
            }

      
    </mx:Script>

    <mx:Rotate id="rotateEffect" />
    <mx:VBox id="vbox" x="400" y="400" clipContent="false">
        <mx:TextInput id="textInput1" creationComplete="applyEffect(event)" />
    </mx:VBox>

</mx:Application>

   
    
    
  
Related examples in the same category
1.Rotate effectRotate effect
2.Repeat Rotate effect until the user clicks a Button controlRepeat Rotate effect until the user clicks a Button control
3.Set Rotate effect target, origin positionSet Rotate effect target, origin position
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.