Getfocus?

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of m88e24
Sent: Tuesday, December 11, 2007 6:45 AM
To: [email protected]
Subject: [flexcoders] Is there a way of asking a component if it is
currently active

 

I want to ask some object what the currently active component is. By 
active I mean that the component is visible and not obscured by any 
other components and is currently the one the user is interfacing 
with.

For example a TabNavigator contains several children, each child 
contains a number of UI fields like TextInput. Now I want ask some 
object not being the TabNavigator which component is currently 
active. I know I can ask the TabNavigator which child is selected but 
the point is that I need to know the composition hierarchy in order 
to ask the question. 

Is there a simple way to obtain which component is visible (not the 
visible property) to the user and is currently receiving user input. 

Thanks in advance.

 

Reply via email to