Well, normally there shouldn't be a problem since there in two different packages.
But thnx for the tip on setStyle. That will do the trick :) Greetz Erik -----Original Message----- From: Manish Jethani [mailto:[EMAIL PROTECTED] Sent: woensdag 16 februari 2005 20:04 To: [email protected] Subject: Re: [flexcoders] Alert strangeness 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 Yahoo! Groups Links

