Hey Kenny,

 

UIComponent has a focusThickness style, changing that changes the focus
rectangle.

Shown at, 
http://blog.flexexamples.com/2008/05/24/setting-the-focus-thickness-on-a
-numericstepper-control-in-flex/

Any help?

 

Gk.

Gregor Kiddie
Senior Developer
INPS

Tel:       01382 564343

Registered address: The Bread Factory, 1a Broughton Street, London SW8
3QJ

Registered Number: 1788577

Registered in the UK

Visit our Internet Web site at www.inps.co.uk
<blocked::http://www.inps.co.uk/> 

The information in this internet email is confidential and is intended
solely for the addressee. Access, copying or re-use of information in it
by anyone else is not authorised. Any views or opinions presented are
solely those of the author and do not necessarily represent those of
INPS or any of its affiliates. If you are not the intended recipient
please contact [EMAIL PROTECTED]

________________________________

From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Kenneth Sutherland
Sent: 11 September 2008 11:28
To: [email protected]
Subject: [flexcoders] focus rectangle

 

What's the best way to change the focus rectangle from its default size?

 

Our designers have some skins for radiobuttons and sliders amongst
others, but the skins for these components do not show the focus
rectangle properly.  I'm try to change it programmatically but is it
easier to do it in flash (is so how, it seems to be based on the
registration point + some other value for the width and height).

 

I have changed the focusPane sprite but I'm still getting the normal
focus outline and I'm also getting some display issue when I change the
focusPane on the radioButton.

 

As you can see the blue outline isn't quite right and tweaking the skin
in flash doesn't seem to help.

 

And the slider thumb just doesn't show a highlight. I'm thinking that we
just need to modify the over state for the thumbSkin on the slider to
mimic the focus, again any suggestions otherwise.

 

 

Cheers.

 

Kenneth Sutherland

Technical Developer

Realise Ltd

0131 476 7432

www.realise.com <http://www.realise.com> 

"enlightened e-business solutions"

 



Disclaimer 

________________________________

This electronic message contains information which may be privileged and
confidential. The information is intended to be for the use of the
individual(s) or entity named above. If you are not the intended
recipient, be aware that any disclosure, copying, distribution or use of
the contents of this information is prohibited. If you have received
this electronic message in error, please notify us by telephone on 0131
476 6000 and delete the material from your computer.
Registered in Scotland number: SC 172507.
Registered office address: Quay House 142 Commercial Street Edinburgh
EH6 6LB.

This email message has been scanned for viruses by Mimecast.

________________________________

 

<<image001.jpg>>

Reply via email to