Even if you fix that, what will you do when someone clicks on the popup,
leaving the mouse outside the component.  Should it shrink back?  If so
when?  After the dropdown tween finishes?

 

Anyway, the event.relatedTarget will have a .owner (instead of .parent)
chain pointing back to your component

 

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Denis
Sent: Tuesday, April 22, 2008 12:12 PM
To: [email protected]
Subject: [flexcoders] Rollover rollout on child components

 

Hello everybody,

I have a parent component that expands/shrinks in size on its own
rollOver / rollOut events. Within this component there is a number of
other components. Among them are many comboboxes. When I open any
combobox and try to change the item from the dropdown list, the
rollOut event is being fired on the parent component and it shrinks,
leaving only the dropdown list open the screen. 

How can I prevent this kind of behaviour? Is there a way to determine
which object has focus so I can prevent the shrinkage of the parent in
certain situations? Is there any other easier solution that someone
can suggest?

Many thanks

 

Reply via email to