Bruce,

 

Can you post an example? I'm skeptical - since the show event is tied to
object visibility. and if you aren't touching that explicitly it won't be
implicitly set by a parent. You must be setting the stage for your events to
propagate (something touching visibile=true) which would be hard to do with
a pre-packaged component.

 

Rick Winscot

 

 

From: flexcoders@yahoogroups.com [mailto:[EMAIL PROTECTED] On
Behalf Of Bruce Hopkins
Sent: Wednesday, April 16, 2008 11:26 AM
To: flexcoders@yahoogroups.com
Subject: Re: [flexcoders] Intelligent ViewStack Children

 

Joshua,

I *just* solved this problem yesterday. All you need to do is add a listener
for the FlexEvent.SHOW event. Your callback method will always be called
when the ViewStack shows your child container.

Regards,

Bruce

On Mon, Apr 14, 2008 at 2:38 PM, joshua gatcke <[EMAIL PROTECTED]> wrote:

Does anyone know if it is possible for a component to know if it's 
'visible' or 'on screen' when it's inside a ViewStack without looking 
at the parent ViewStacks properties? I have a component and I need to 
to 'know' if it's actually in the showing viewstack child or in one of 
the hidden ones. I cannot look at the parent ViewStack because I will 
not know where or how this component is being used.

I looked through piles of documentation, not sure if I am just thick 
or something.

Any suggestions would rock the casbah, thanks in advance. 

 

 

<<image001.jpg>>

<<image002.jpg>>

Reply via email to