Parallel Effect With Easing : Parallel « Effects « Flex






Parallel Effect With Easing

Parallel Effect With Easing
  
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">

    <mx:Script>
        
            import mx.effects.easing.Exponential;
      
    </mx:Script>

    <mx:Parallel id="parallelEffect" target="{myPanel}">
        <mx:Resize widthBy="150" heightBy="150" easingFunction="{Exponential.easeOut}" />
        <mx:Blur blurXTo="5" blurYTo="5" />
    </mx:Parallel>
    
   
    <mx:Panel title="Panel" id="myPanel" width="100" height="100" />
    
    <mx:Button label="Parallel Effect" click="parallelEffect.play()" />
    
    <mx:ComboBox openEasingFunction="{Exponential.easeInOut}" 
                 closeEasingFunction="{Exponential.easeInOut}" 
                 openDuration="250" 
                 closeDuration="500">
        <mx:dataProvider>
            <mx:Array>
                <mx:Object label="A" />
                <mx:Object label="B" />
                <mx:Object label="C" />
                <mx:Object label="D" />
                <mx:Object label="E" />
                <mx:Object label="F" />
                <mx:Object label="G" />
            </mx:Array>
        </mx:dataProvider>
    </mx:ComboBox>
    
</mx:Application>

   
    
  








Related examples in the same category

1.Parallel EffectParallel Effect
2.Create and use Parallel class in ActionScriptCreate and use Parallel class in ActionScript
3.Nest Parallel into SequenceNest Parallel into Sequence