[flexcoders] Re: Navigating to a new child in a ViewStack - how to target the child being hidden?

2009-07-01 Thread valdhor
You probably want the hide event (Dispatched when an object's state changes from visible to invisible). --- In flexcoders@yahoogroups.com, lanekelly5 lkel...@... wrote: I'm putting together a prototype of an app and I have a ViewStack that is being controlled by a button toolbar. In each

[flexcoders] Re: Navigating to a new child in a ViewStack - how to target the child being hidden?

2009-07-01 Thread lachance.brian
If you still want to use the change event (or if for some reason the hide event doesn't seem to work), I think you could also look at the oldIndex value of the event. From there you could call getChildByIndex on the ViewStack to get a reference. --- In flexcoders@yahoogroups.com, lanekelly5