Rotate effect : Rotate Effect « Effects « Flex






Rotate effect

Rotate effect
   
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Parallel id="ZoomRotateShow">
        <mx:Zoom id="myZoomShow" zoomHeightFrom="0.0" zoomWidthFrom="0.0" zoomHeightTo="1.0" zoomWidthTo="1.0" />
        <mx:Rotate id="myRotateShow" />
    </mx:Parallel>

    <mx:VBox id="myBox" height="100" width="200">
        <mx:TextArea id="aTextArea" text="hello" showEffect="{ZoomRotateShow}" />
    </mx:VBox>
    <mx:Button id="myButton1" label="Show!" click="aTextArea.visible=true;" />
    <mx:Button id="myButton2" label="Hide!" click="aTextArea.visible=false;" />
</mx:Application>

   
    
    
  








Related examples in the same category

1.Repeat Rotate effect until the user clicks a Button controlRepeat Rotate effect until the user clicks a Button control
2.Use Rotate effectUse Rotate effect
3.Set Rotate effect target, origin positionSet Rotate effect target, origin position