Max, I would think that States with transition effects would be the easiest way to do this.
Jason --- In [email protected], "m.frigge" <[EMAIL PROTECTED]> wrote: > > Knock.. knock.. nobody knows this?? > A simple no it doesn't work would be alright too :-) ??? > > > --- In [email protected], Max Frigge <m.frigge@> wrote: > > > > Hi, > > > > I am trying to create a slide effect for a ViewStack. Therefor > > I would need to have 2 children visible at the same time, so that > > you can see the second child sliding in while the first one is > > sliding out. Is that possible or am I on the wrong path? > > > > I want something like this: > > > > <?xml version="1.0"?> > > <!-- containers\navigators\VSLinkEffects.mxml --> > > > > > > <mx:Parallel id="toSecond"> > > <mx:Move duration="400" xFrom="{search.x}" > xTo="{search.width}" target="{search}"/> > > <mx:Move duration="400" xFrom="{-custInfo.width}" > xTo="{custInfo.x}" target="{custInfo}"/> > > </mx:Parallel> > > > > <mx:ViewStack id="myViewStack" > > borderStyle="solid" > > width="200" > > creationPolicy="all"> > > > > <mx:Canvas id="search" > > label="Search" > > > <mx:Label text="Search Screen"/> > > </mx:Canvas> > > > > <mx:Canvas id="custInfo" > > label="Customer Info"> > > <mx:Label text="Customer Info"/> > > </mx:Canvas> > > </mx:ViewStack> > > > > <mx:Button click="toSecond.play()" label="Play Effect" /> > > </mx:Application> > > > > > > > > > > > ______________________________________________________________________ ______________ > > Looking for last minute shopping deals? > > Find them fast with Yahoo! Search. > http://tools.search.yahoo.com/newsearch/category.php? category=shopping > > >

