when the content changes you can call

fadeIn.play([view1]);


if you want to make it fade out, then fade back in, make a new sequence effect 
that contains two fade effects. then call it like above.

-----Original Message-----
From: [email protected] on behalf of joyh2002
Sent: Thu 3/4/2010 2:09 PM
To: [email protected]
Subject: [flexcoders] Need effect for ViewStack w/o changing the view
 
Hi all,

I have a viewstack like this:

<mx:ViewStack>
  <mx:Canvas id="view1" hideEffect="{fadeOut}" showEffect="{fadeIn}" />
  <mx:Canvas id="view2" hideEffect="{fadeOut}" showEffect="{fadeIn}" />
</mx:ViewStack>

The hideEffect and showEffect is triggered when I switch the views. How do I 
make the same effect when I change the contect of view1 (without changing the 
view from view2 to view1)? I'm already on view1, I change the content of view1, 
and need the same effect to signal the user that there are changes to the 
content. I don't want to create a new view.

Thanks,
Joy


Reply via email to