Reverse an Effect
<?xml version="1.0" encoding="utf-8"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml" layout="absolute"> <mx:Script> import mx.events.EffectEvent; private function effectEndHandler(event:EffectEvent):void { event.effectInstance.reverse( ); event.effectInstance.play( ); } </mx:Script> <mx:Move id="moveEffect" xFrom="100" effectEnd="effectEndHandler(event)" /> <mx:VBox creationCompleteEffect="{moveEffect}"> <mx:TextInput id="textInput1" /> <mx:TextInput id="textInput2" /> <mx:TextInput id="textInput3" /> <mx:TextInput id="textInput4" /> </mx:VBox> </mx:Application>