can't think of a way to do it in CSS, but you can listen to the
systemManager for focusIn and see the focusIn on all children because it
bubbles.  That way you only have to attach one listener.

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Stephen Roy J. Tang
Sent: Wednesday, September 26, 2007 8:03 PM
To: [email protected]
Subject: [flexcoders] Using a different style for focused controls



Hi,

I know I can control the focus rectangle by using a border skin - but
I want to be able to change stuff like background color and font
weight when a control gains focus. Is there a way I can do that
without having to use focus/lose focus event triggers? This would be
applied across several Flex screens - Ideally I just plug-in something
into my css files and it works from there.

Thanks :)

Roy



 

Reply via email to