Play Move effect creationComplete event handler : Effect Event « 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 » Effect EventScreenshots 
Play Move effect creationComplete event handler
Play Move effect creationComplete event handler
   

<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute">
    <mx:Script>
        

            private function applyEffect(event:Event):void {
                moveEffect.target = event.currentTarget;
                moveEffect.play(  );
            }

      
    </mx:Script>
    <mx:Move id="moveEffect" xFrom="100" />
    <mx:VBox>
        <mx:TextInput id="textInput1" creationComplete="applyEffect(event)" />
        <mx:TextInput id="textInput2" creationComplete="applyEffect(event)" />
        <mx:TextInput id="textInput3" creationComplete="applyEffect(event)" />
        <mx:TextInput id="textInput4" creationComplete="applyEffect(event)" />
    </mx:VBox>

</mx:Application>

   
    
    
  
Related examples in the same category
1.Event listener for endEffect eventEvent listener for endEffect event
2.Dispatch effectStart event and effectEnd event once per targetDispatch effectStart event and effectEnd event once per target
3.Get UIComponent from EffectEventGet UIComponent from EffectEvent
4.Move effect end eventMove effect end event
5.Define an event listener for the endEffect eventDefine an event listener for the endEffect event
6.Event EffectsEvent Effects
w__w_w___.__j__a__va__2_s__._c_o__m | Contact Us
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.