Erik Westra wrote:
The one with the name 'Alert' has at the bottom when created with the popupManager rounded edges. The one with the name 'Allert' has at the bottom when created with the popupManager square edges.
Alert is a component in Flex (it's what the alert function displays). The Alert component has its edges set to rounded, by default -- using CSS styles.
In general you should avoid having classes with the same names as those in Flex, but if you must, you have the option of setting up the default style in the constructor:
class my.library.Alert
{
function Alert()
{
setStyle("cornerRadius", 0); // square corner
}
}I'm not a styles expert, and I haven't tried this code, but you get the idea.
Manish

