Hi,

This is a hack but works quick...

make a var ;

public var nullSkin:Class

                me.setStyle("upSkin", nullSkin);
                me.setStyle("overSkin", nullSkin);
                me.setStyle("downSkin", nullSkin);

I tried clearStyle() but, that didn't work.

Another variation;

                me.setStyle("upSkin", null);
                me.setStyle("overSkin", null);
                me.setStyle("downSkin", null);

Basically, you need to null out the Class ref to the ButtonSkin class of the Button.

Peace, Mike

On 5/16/06, flexnadobe <[EMAIL PROTECTED]> wrote:
Does anyone have a sample on how to override the border on a Button
Component. I would like to turn the Border off completely.

Rich





--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS






--
What goes up, does come down.

--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com




YAHOO! GROUPS LINKS




Reply via email to