« Return to Thread: Transition on ViewStack

Re: Re: Transition on ViewStack

by Neil Middleton :: Rate this Message:

Reply to Author | View in Thread

Works a treat.  Cheers sir.

Neil

On Thu, Feb 28, 2008 at 3:05 PM, tomeuchre <braz@...> wrote:

>   --- In flexcoders@... <flexcoders%40yahoogroups.com>, "Neil
> Middleton"
> <neil.middleton@...> wrote:
> >
> > Is it possible to place some sort of transition on the change of a
> > selectedChild on a viewStack object?
> >
> > I've been playing with mx:Fade and hideEffect/showEffect with no
> joy...
> >
> > Anyone?
> >
> > Cheers
> >
> > Neil
> >
> <mx:Fade id="TESTV2A_EffectStart" duration="500" alphaFrom="0.0"
> alphaTo="1.0"/>
> <mx:Zoom id="TESTV2A_EffectEnd" captureRollEvents="false"
> zoomWidthFrom="1.0" zoomWidthTo="0.0" zoomHeightFrom="1.0"
> zoomHeightTo="0.0"/>
>
> <mx:ViewStack id="vwStack" width="100%" height="100%"
> paddingBottom="0" paddingTop="0" resizeToContent="true"
> creationPolicy="all" historyManagementEnabled="true">
> <view:V1 id="V1" showEffect="{TESTV2A_EffectStart}"
> hideEffect="{TESTV2A_EffectEnd}"/>
> <view:V2 id="V2" showEffect="{TESTV2A_EffectStart}"
> hideEffect="{TESTV2A_EffectEnd}"/>
> <view:V3 id="V3" showEffect="{TESTV2A_EffectStart}"
> hideEffect="{TESTV2A_EffectEnd}"/>
> <view:V4 id="V4" showEffect="{TESTV2A_EffectStart}"
> hideEffect="{TESTV2A_EffectEnd}"/>
> <view:V5 id="V5" showEffect="{TESTV2A_EffectStart}"
> hideEffect="{TESTV2A_EffectEnd}"/>
> </mx:ViewStack>
>
>  
>

 « Return to Thread: Transition on ViewStack