Nesting two parallel composites in a sequence : Sequence « Effects « Flex






Nesting two parallel composites in a sequence

           
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Sequence id="compositeEffect">
        <mx:Parallel>
            <mx:Fade alphaFrom="0.0" alphaTo="1.0" />
            <mx:Zoom zoomWidthFrom="0.5" zoomWidthTo="1.0"
                zoomHeightFrom="0.5" zoomHeightTo="1.0" />
        </mx:Parallel>
        <mx:Parallel>
            <mx:Zoom zoomWidthFrom="1.0" zoomWidthTo="0.5"
                zoomHeightFrom="1.0" zoomHeightTo="0.5" />
            <mx:Fade alphaFrom="1.0" alphaTo="0.0" />
        </mx:Parallel>
    </mx:Sequence>
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Sequence EffectSequence Effect
2.Sequence Effect With EasingSequence Effect With Easing
3.Play a SequencePlay a Sequence
4.Hide and show a controlHide and show a control
5.Using AnimateProperty to animate control by propertyUsing AnimateProperty to animate control by property
6.Animate the scaleX property of a controlAnimate the scaleX property of a control