Have you ever tried to use cornerRadius on a HBox for example and when you compiled your Flex code, the corners of the HBox were still squared…Well the thing is that you have to make one other things to get cornerRadius to work. You have to put the borderStyle property of your HBox to solid.
In the example below you can see one HBox that does not have borderStyle=”solid” and the other one that does, and the difference is obvious 🙂 (again if you click on the picture it will take you to the actual application)
If for example you do not want to see the border is shown when we set borderStyle to solid just add the borderThickness to 0 (with borderThickness=”0″).
The code of application is in the picture below.