--- In [email protected], "Alex Harui" <[EMAIL PROTECTED]> wrote:
>
> Only the thing being hidden dispatches an event. The children do not
> dispatch their own event, nor do their visible properties get set to
> false even though they are now visible.
>
> You can use "capture" phase listeners to see changes in all children of
> a display object.
>
> ________________________________
>
> From: [email protected] [mailto:[EMAIL PROTECTED] On
> Behalf Of Matt
> Sent: Tuesday, May 08, 2007 1:39 PM
> To: [email protected]
> Subject: [flexcoders] Re: Parent not talking to Children
>
>
>
> --- In [email protected] <mailto:flexcoders%40yahoogroups.com>
> , "Matt" <matt@> 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.
> >
> > Can anyone either explain a work-around or the error in my logic?
> >
>
> Any insights on this would be appreciated. The purpose of this is to
> monitor any changes to the component to propagate to an IFrame (yes,
> another web browser implementation).
>
I've tried to do this with addEventListener(FlexEvent.HIDE, onHide,
true) to my child but it never receives an event.