I'm not sure that approach really works... The buttons don't show up at all.
-Andy _____________________________________ Andrew Trice Cynergy Systems, Inc. http://www.cynergysystems.com Blog: http://www.cynergysystems.com/blogs/page/andrewtrice Email: [EMAIL PROTECTED] Office: 866-CYNERGY ________________________________ From: [email protected] [mailto:[EMAIL PROTECTED] On Behalf Of Michael Schmalle Sent: Wednesday, November 29, 2006 11:05 AM To: [email protected] Subject: Re: [flexcoders] Styling in Flex is officially ridiculous Well, Before your loose it... try myButton.setStyle("upSkin", null); OR Button { upSkin:ClassReference("null"); } OR <mx:Button upSkin="{null}"/> Peace, Mike On 11/29/06, ben.clinkinbeard <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]> > wrote: OK. I am usually very hesitant to criticize Adobe because of the immense respect I have for their employees and the amazing technology they create. I have built my career around their products. That being said, the styling capabilities in Flex are downright silly. I have suffered silently through some small, yet extremely annoying "nuances", but this one takes the cake: You can't style a Button to not have a border!!! Developer: "Hey button, go ahead and skip your border drawing routine." Button: "Eff that! I love my borders and I ain't getting rid of them for anyone!" WTF. I can understand not supporting some styling features people would like, but not supporting one that is just turning something off? What gives? I realize I could probably subclass Button and override the drawing but that is uber-overkill for something that should be a simple attribute. If someone from Adobe can offer a valid reason for why this isn't supported I would love to hear it. I would also be very interested to know if styling is an area that is being focused on for significant upgrades in future versions. Thanks, Ben -- Teoti Graphix http://www.teotigraphix.com <http://www.teotigraphix.com> Blog - Flex2Components http://www.flex2components.com <http://www.flex2components.com> You can find more by solving the problem then by 'asking the question'.

