Re: [flexcoders] Viewstack showEffect and hideEffect playing at the same time

2007-04-24 Thread Tom Chiverton
On Monday 23 Apr 2007, Tim Walling wrote:
 That's right. I couldn't remember what the documentation said. I had to
 create my own viewstack component because I wanted to insert a resize
 effect in between the show and hide effects.

Couldn't you use a Parellel (or Sequence) effect to do that ?

-- 
Tom Chiverton
Helping to enthusiastically brand mission-critical synergies
on: http://thefalken.livejournal.com



This email is sent for and on behalf of Halliwells LLP.

Halliwells LLP is a limited liability partnership registered in England and 
Wales under registered number OC307980 whose registered office address is at St 
James's Court Brown Street Manchester M2 2JF.  A list of members is available 
for inspection at the registered office. Any reference to a partner in relation 
to Halliwells LLP means a member of Halliwells LLP. Regulated by the Law 
Society.

CONFIDENTIALITY

This email is intended only for the use of the addressee named above and may be 
confidential or legally privileged.  If you are not the addressee you must not 
read it and must not use any information contained in nor copy it nor inform 
any person other than Halliwells LLP or the addressee of its existence or 
contents.  If you have received this email in error please delete it and notify 
Halliwells LLP IT Department on 0870 365 8008.

For more information about Halliwells LLP visit www.halliwells.com.



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

* To visit your group on the web, go to:
http://groups.yahoo.com/group/flexcoders/

* Your email settings:
Individual Email | Traditional

* To change settings online go to:
http://groups.yahoo.com/group/flexcoders/join
(Yahoo! ID required)

* To change settings via email:
mailto:[EMAIL PROTECTED] 
mailto:[EMAIL PROTECTED]

* To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]

* Your use of Yahoo! Groups is subject to:
http://docs.yahoo.com/info/terms/
 


Re: [flexcoders] Viewstack showEffect and hideEffect playing at the same time

2007-04-23 Thread Manish Jethani
Wow, this page explicitly states that the ViewStack container waits
for the completion of the effect specified by the hideEffect property
for the container that is being hidden before it reveals the new child
container.

http://livedocs.adobe.com/flex/201/html/navigators_066_06.html

Does that example (on that page) work for you?

On 4/23/07, João [EMAIL PROTECTED] wrote:
 I have one viewStack with two views, both of them with the following
 effects:

mx:Parallel id=showEffect duration=600
mx:Parallel target={p1} duration=600
mx:Move xTo=35/
mx:Fade alphaTo=1/
/mx:Parallel
mx:Parallel target={p2} duration=600
mx:Move xTo=293/
mx:Fade alphaTo=1/
/mx:Parallel
/mx:Parallel

mx:Parallel id=hideEffect duration=600
mx:Parallel target={p1} duration=600
mx:Move xTo=-90/
mx:Fade alphaTo=0/
/mx:Parallel
mx:Parallel target={p2} duration=600
mx:Move xTo=500/
mx:Fade alphaTo=0/
/mx:Parallel
/mx:Parallel

 The problem here is that when changing between views, the showEffect
 of the view to show plays at the same time of the hideEffect of the
 view thats hiding. How can i make it to first hide the current view,
 and only the hiding finishes, the new view starts it's showEffect?

 Thanks,

 João Saleiro



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






Re: [flexcoders] Viewstack showEffect and hideEffect playing at the same time

2007-04-23 Thread Tim Walling

That's right. I couldn't remember what the documentation said. I had to
create my own viewstack component because I wanted to insert a resize effect
in between the show and hide effects.

Tim


On 4/23/07, Manish Jethani [EMAIL PROTECTED] wrote:


  Wow, this page explicitly states that the ViewStack container waits
for the completion of the effect specified by the hideEffect property
for the container that is being hidden before it reveals the new child
container.

http://livedocs.adobe.com/flex/201/html/navigators_066_06.html

Does that example (on that page) work for you?


On 4/23/07, João [EMAIL PROTECTED] joao.saleiro%40webfuel.pt
wrote:
 I have one viewStack with two views, both of them with the following
 effects:

 mx:Parallel id=showEffect duration=600
 mx:Parallel target={p1} duration=600
 mx:Move xTo=35/
 mx:Fade alphaTo=1/
 /mx:Parallel
 mx:Parallel target={p2} duration=600
 mx:Move xTo=293/
 mx:Fade alphaTo=1/
 /mx:Parallel
 /mx:Parallel

 mx:Parallel id=hideEffect duration=600
 mx:Parallel target={p1} duration=600
 mx:Move xTo=-90/
 mx:Fade alphaTo=0/
 /mx:Parallel
 mx:Parallel target={p2} duration=600
 mx:Move xTo=500/
 mx:Fade alphaTo=0/
 /mx:Parallel
 /mx:Parallel

 The problem here is that when changing between views, the showEffect
 of the view to show plays at the same time of the hideEffect of the
 view thats hiding. How can i make it to first hide the current view,
 and only the hiding finishes, the new view starts it's showEffect?

 Thanks,

 João Saleiro



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





 





--
Tim
timwalling.com


Re: [flexcoders] Viewstack showEffect and hideEffect playing at the same time

2007-04-22 Thread Tim Walling

I don't think you can. I've had to write my own viewstack-like component in
the past to achieve a series of animation effects. In my case it was a fade
out, resize, fade in.

You might have to write your own component as well if you can't live with
the effects that you come up with using a regular ViewStack.


Tim


On 4/22/07, João [EMAIL PROTECTED] wrote:


  I have one viewStack with two views, both of them with the following
effects:

mx:Parallel id=showEffect duration=600
mx:Parallel target={p1} duration=600
mx:Move xTo=35/
mx:Fade alphaTo=1/
/mx:Parallel
mx:Parallel target={p2} duration=600
mx:Move xTo=293/
mx:Fade alphaTo=1/
/mx:Parallel
/mx:Parallel

mx:Parallel id=hideEffect duration=600
mx:Parallel target={p1} duration=600
mx:Move xTo=-90/
mx:Fade alphaTo=0/
/mx:Parallel
mx:Parallel target={p2} duration=600
mx:Move xTo=500/
mx:Fade alphaTo=0/
/mx:Parallel
/mx:Parallel

The problem here is that when changing between views, the showEffect
of the view to show plays at the same time of the hideEffect of the
view thats hiding. How can i make it to first hide the current view,
and only the hiding finishes, the new view starts it's showEffect?

Thanks,

João Saleiro

 





--
Tim
timwalling.com