Thanks works great.  Thanks a lot!

 

Colin

 


From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Andrew Trice
Sent: Monday, March 06, 2006 4:19 PM
To: [email protected]
Subject: RE: [flexcoders] ViewStack Transition

 

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
Sent: Monday, March 06, 2006 3:50 PM
To: [email protected]
Subject: [flexcoders] ViewStack Transition

 

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

 

 





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to