PDA

View Full Version : Buttons - focusRoundedCorners


angie
11-10-2008, 05:18 PM
Hi,

I'm trying to change my button so it is only rounded on one side and the documentation seems to point at a style property focusRoundedCorners that will do this. However, when I try nothing happens. Does anybody know if it relies on any other settings? Thanks.

<mx:Button focusRoundedCorners="tr br"/>

Peter Cowling
11-12-2008, 08:20 PM
I guess that 'focus' implies that the rounded corners are only applied when the component has focus.

I use skinning to achieve this sort of functionality. This (http://www.wabysabi.com/flex/enhancedbuttonskin/) explorer provides a short cut.

angie
11-13-2008, 04:24 PM
This looks great, exactly what I need to get my head around skins etc. Thanks.

Peter Cowling
11-25-2008, 10:42 PM
Glad that worked out for you.