Resizing a button that starts small and grows bigger : Resize Effect « Effects « Flex






Resizing a button that starts small and grows bigger

Resizing a button that starts small and grows bigger
            
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"
    backgroundColor="white">
    <mx:Resize id="myEffect" heightFrom="0" heightBy="50" />
    <mx:Button label="Click on me" mouseDownEffect="{myEffect}" />
</mx:Application>

   
    
    
    
    
    
    
    
    
    
    
    
  








Related examples in the same category

1.Using Resize effect to enlarge an image on mouse-overUsing Resize effect to enlarge an image on mouse-over
2.Two Resize effects for a Button controlTwo Resize effects for a Button control
3.Define effect using ActionScript with ResizeDefine effect using ActionScript with Resize
4.Use ActionScript to set up resize effectUse ActionScript to set up resize effect
5.Use Resize effect when the user moves the mouse over itUse Resize effect when the user moves the mouse over it
6.Add resize effect to transitionAdd resize effect to transition
7.Panel resize effectPanel resize effect
8.Use two Resize effects for a Button control.Use two Resize effects for a Button control.
9.Resize Easing Effect
10.Add a transition to use a Wipe effect and a Resize effect with an easing function to animate the transition from view state to view stateAdd a transition to use a Wipe effect and a Resize effect with an easing function to animate the transition from view state to view state
11.Resize Image EffectResize Image Effect
12.Reverse Resize EffectReverse Resize Effect
13.Apply a Resize effect to multiple Button controls by using data binding with the effect's targets propertyApply a Resize effect to multiple Button controls by using data binding with the effect's targets property
14.Resize effectsResize effects
15.Using the Resize effect on an Image controlUsing the Resize effect on an Image control
16.Increase width and height of a Button control by 15 pixels each time the user selects itIncrease width and height of a Button control by 15 pixels each time the user selects it
17.Resize Target by PropertiesResize Target by Properties