Using AnimateProperty to animate control by property : Sequence « Effects « Flex






Using AnimateProperty to animate control by property

Using AnimateProperty to animate control by property
           

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Sequence id="animateScaleXUpDown">
        <mx:AnimateProperty property="scaleX" fromValue="1.0" toValue="1.5" />
        <mx:AnimateProperty property="scaleX" fromValue="1.5" toValue="1.0" />
    </mx:Sequence>
    <mx:Button label="Scale Button" mouseDownEffect="{animateScaleXUpDown}" />
</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.Nesting two parallel composites in a sequence
5.Hide and show a controlHide and show a control
6.Animate the scaleX property of a controlAnimate the scaleX property of a control