The comment ".I will not know where or how this component is being used." Has me worried. but hey! Children have access to parents - so all you have to do is. this.parent.parent = viewStack e.g. ViewStack - > Canvas -> your component.
If what you are saying is that this component could live anywhere including a view stack and you need to know what's going on up there. the same applies. If this is all related to the view stack creation policy - I feel your pain. Can you give us a little more detail as to what you are trying to accomplish? Rick Winscot From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of joshua gatcke Sent: Monday, April 14, 2008 3:38 PM To: [email protected] Subject: [flexcoders] Intelligent ViewStack Children 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>>

