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

Home
Flex
1.Chart
2.Components
3.Container
4.Data Model
5.Development
6.Effects
7.Event
8.Graphics
9.Grid
10.Style
Flex » Effects » SequenceScreenshots 
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
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.