--- In flexcoders@yahoogroups.com, "Manish Jethani" <[EMAIL PROTECTED]> wrote: > > On 5/9/07, Matt <[EMAIL PROTECTED]> wrote: > > When a container gets hidden shouldn't it throw a hide event to the > > children? I have a TitledWindow and a Canvas inside it and when I set > > visible to false on the TitledWindow I can't seem to capture anything > > on the Canvas telling me it was hidden, it just disappears. > > How are you listening for the hide event? > It's a customer component that extends Canvas an in the constructor I call: this.addEventListener(FlexEvent.HIDE, onHide, true);
If I explicitly set that component's visibility to false it works as expected, but if I have it in a container that I hide it does not get an event at all.