Mega Code Archive

 
Categories / Flex / Effects
 

Play the WipeLeft effect each time the selected tab changes

<?xml version="1.0"?> <mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">     <mx:WipeLeft id="myWL" />     <mx:TabNavigator>         <mx:VBox label="A" width="300" height="150" showEffect="{myWL}">         </mx:VBox>         <mx:VBox label="B" width="300" height="150" showEffect="{myWL}">         </mx:VBox>         <mx:VBox label="C" width="300" height="150" showEffect="{myWL}">         </mx:VBox>     </mx:TabNavigator> </mx:Application>