If an object's .visible property changes, it dispatches a SHOW or HIDE
event.  You can listen for that event if you want to.

 

________________________________

From: [email protected]
[mailto:[EMAIL PROTECTED] On Behalf Of Rajesh Bhadra
Sent: Monday, January 15, 2007 12:53 AM
To: [email protected]
Subject: Re: [flexcomponents] Re: Determining whether parent is
visible/invisible

 

Yeah in that way it will be easy to answer your query...

On 1/14/07, Bruce Denham <[EMAIL PROTECTED]
<mailto:bdenham%40topazti.com> > wrote:
> Can you attach your project and I'll have a look.
>
> Bruce
>
> --- In [email protected]
<mailto:flexcomponents%40yahoogroups.com> , "dustyjewett"
> <[EMAIL PROTECTED]> wrote:
> >
> > Hello,
> >
> > I'm attempting to extend the "Drawer" component found here:
> > http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/
<http://kuwamoto.org/2006/05/11/example-code-updated-for-beta-3/> 
> >
> > I've made changes so that:
> > A) it's a bottom-of-the-screen only component
> > B) it doesn't expand to the full width of the screen, only the width
> > of the Container it's in... this allows multiple drawers to be on
> the
> > screen.
> >
> > Unfortunately, there's one thing I can't figure out. The previous
> > code assumes that the parent will be the component that is
> > shown/hidden... However, if you have the Drawer attached to a
> > component nested deep down inside other components, you can't
> > determine if the parent component is really appearing on screen!
> >
> > If I do the equivalent of "trace(parent.visible)" (in this code,
> it's
> > "realParent" not "parent"), it always appears true, even though the
> > TabNavigator is on a completely different tab. How can I determine
> if
> > the parent component really is being displayed on the screen?
> >
>
>
>
>

 

Reply via email to