Parallel effect with : Parallel Effect « Effects « Flex






Parallel effect with

Parallel effect with <mx:Parallel>
    


<?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.Add various effects to ParallelAdd various effects to Parallel
2.Play effects from a ParallelPlay effects from a Parallel
3.Parallel effects for moving