Define effect using ActionScript with Resize : Resize Effect « 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 » Resize EffectScreenshots 
Define effect using ActionScript with Resize
Define effect using ActionScript with Resize
    

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
    <mx:Resize id="resizeLarge" target="{myTA}" widthTo="150" heightTo="150" duration="750" />
    <mx:Canvas height="300" width="400" borderStyle="solid">
        <mx:Button label="Start" x="50" y="50" click="resizeLarge.end();resizeLarge.play();" />
        <mx:TextArea x="100" y="100" id="myTA" text="Here is some text." />
    </mx:Canvas>
</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.Use ActionScript to set up resize effectUse ActionScript to set up resize effect
4.Use Resize effect when the user moves the mouse over itUse Resize effect when the user moves the mouse over it
5.Add resize effect to transitionAdd resize effect to transition
6.Panel resize effectPanel resize effect
7.Use two Resize effects for a Button control.Use two Resize effects for a Button control.
8.Resize Easing Effect
9.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
10.Resize Image EffectResize Image Effect
11.Reverse Resize EffectReverse Resize Effect
12.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
13.Resize effectsResize effects
14.Using the Resize effect on an Image controlUsing the Resize effect on an Image control
15.Resizing a button that starts small and grows biggerResizing a button that starts small and grows bigger
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
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.