WipeRight and ViewStack : Wipe Effect « Effects « Flex
- Flex
- Effects
- Wipe Effect
WipeRight and ViewStack

<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml">
<mx:WipeUp id="myWU" duration="300" />
<mx:WipeDown id="myWD" duration="300" />
<mx:WipeRight id="myWR" duration="300" />
<mx:VBox>
<mx:LinkBar dataProvider="{myViewStack}" borderStyle="solid" backgroundColor="#EEEEFF" />
<mx:ViewStack id="myViewStack" borderStyle="solid" width="100%" creationCompleteEffect="{myWR}">
<mx:Canvas id="search" label="Search" hideEffect="{myWD}" showEffect="{myWU}">
<mx:Label text="Search Screen" />
</mx:Canvas>
<mx:Canvas id="custInfo" label="Customer Info" hideEffect="{myWD}" showEffect="{myWU}">
<mx:Label text="Customer Info" />
</mx:Canvas>
<mx:Canvas id="accountInfo" label="Account Info" hideEffect="{myWD}" showEffect="{myWU}">
<mx:Label text="Account Info" />
</mx:Canvas>
</mx:ViewStack>
</mx:VBox>
</mx:Application>
Related examples in the same category