|
I’m using Flex 1.5 and I can use
effects in a ViewStack, which I would guess works in Flex 2.0…. Put
the effect on the showEffect of the elements within your ViewStack, not on the ViewStack
itself. I hope the code below helps. I have only briefly looked at
the State and Transition objects in Flex 2.0, but I think this might achieve
what you want. -Andy <mx:Effect> <mx:WipeRight
name="wipeRight" duration="2000"/> </mx:Effect> <mx:LinkBar
dataProvider="myViewStack" /> <mx:ViewStack
width="100%" height="100%" id="myViewStack"
borderStyle="solid"> <mx:VBox
label="View 1" width="100%" height="100%"
showEffect="wipeRight"> <mx:Label
text="This is View 1"/> </mx:VBox> <mx:VBox
label="View 2" width="100%" height="100%"
showEffect="wipeRight" > <mx:Label
text="This is View 2"/> </mx:VBox> <mx:VBox
label="View 3" width="100%" height="100%"
showEffect="wipeRight" > <mx:Label
text="This is View 3"/> </mx:VBox> </mx:ViewStack> From:
[email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Colin Wiseley Hi, this is for Flex 2.0. Is it possible to use a
transition between items in a ViewStack? The only examples I’ve
found have to do with using transitions between states. Thanks! Colin
|
- RE: [flexcoders] ViewStack Transition Andrew Trice
- RE: [flexcoders] ViewStack Transition Colin Wiseley

