I think you could use ProgramaticSkin as the various skins, which is still
a valid skin, but which does not have a border.

At 03:26 PM 5/16/2006, you wrote:
>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 <<mailto:[EMAIL PROTECTED]>[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>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives:
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>  Visit your group "<http://groups.yahoo.com/group/flexcoders>flexcoders"
> on the web.
>
>  To unsubscribe from this group, send an email to:
>  <mailto:[EMAIL PROTECTED]>
> [EMAIL PROTECTED]
>
>  Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>----------
>
>
>
>--
>What goes up, does come down.
>
>--
>Flexcoders Mailing List
>FAQ:
><http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt>http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
>Search Archives:
><http://www.mail-archive.com/flexcoders%40yahoogroups.com>http://www.mail-archive.com/flexcoders%40yahoogroups.com
>
>
>
>
>----------
>YAHOO! GROUPS LINKS
>
>    *  Visit your group
> "<http://groups.yahoo.com/group/flexcoders>flexcoders" on the web.
>    *
>    *  To unsubscribe from this group, send an email to:
>    *
> <mailto:[EMAIL PROTECTED]>[EMAIL PROTECTED]
>
>    *
>    *  Your use of Yahoo! Groups is subject to the
> <http://docs.yahoo.com/info/terms/>Yahoo! Terms of Service.
>
>
>----------




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




SPONSORED LINKS
Web site design development Computer software development Software design and development
Macromedia flex Software development best practice


YAHOO! GROUPS LINKS




Reply via email to