import mx.events.EffectEvent; private function effectEndHandler(event:EffectEvent):void { event.effectInstance.reverse( ); event.effectInstance.play( ); }