Re: [flexcoders] Need to change the viewstack from a child container

2008-04-06 Thread Daniel Gold
if your structure is that simple, in the child you could do parent.selectedChild = newChild. It depends in what scope the code is executing. If your viewstack and children are defined in a single MXML file, then in a script block myviewstack would still be in scope and myviewstack.selectedChild

[flexcoders] Need to change the viewstack from a child container

2008-04-04 Thread Rubeel
Hoe can i change the viewstack from a child container. lets say if i have a viewstack and i move to a child by using the selectedChild property, can i call myviewstack.selectedChild from the child itself thanx in advance