Vikram,
Listen for the 'show' event instead of 'creationComplete'.  The  
ViewStack component doesn't destroy its content and recreate it as  
you navigate around.  What it does do is defer creating it's contents  
until they are displayed.  This is why creationComplete is fired the  
first time you switch to a panel, but not when you switch to it on  
subsequent occasions.

On 30 Aug 2007, at 18:41, vikram wrote:
> Hi,
>
> I have a flex application which is completely menu driven. I have used
> view stacks to manage different views based on what is clicked in the
> menu item.
>
> My problem is this:
> If I click Menu1 -> Menu1.1, then I show view 1. Lets say I do some
> interactions in view 1 (change some dropdowns, radio buttons etc) and
> go to another view by clicking some other menu item. When I come back
> to view 1 again, it doesnt refresh i.e. it doesnt fire  
> creationComplete
> ().
>
> Each time I make a view stack visible, I want it to be re-rendered and
> not just make it visible. Is there a way to do this?
>
> Thanks
> Vikram

Reply via email to