Transition on ViewStack

View: New views
4 Messages — Rating Filter:   Alert me  

Transition on ViewStack

by Neil Middleton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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

Re: Transition on ViewStack

by tomeuchre :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

--- In flexcoders@..., "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>



Re: Re: Transition on ViewStack

by Neil Middleton :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

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>
>
>  
>

Parent Message unknown RE: Transition on ViewStack

by Tracy Spratt :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

I have played with this below and it works quite well.

http://www.tink.ws/blog/pairedstackeffect-fade-squash/

Tracy

 

________________________________

From: flexcoders@... [mailto:flexcoders@...] On
Behalf Of Neil Middleton
Sent: Thursday, February 28, 2008 9:49 AM
To: flexcoders@...
Subject: [flexcoders] Transition on ViewStack

 

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