<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Setting a Flex Button control&#8217;s border color and theme color</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Thu, 18 Mar 2010 20:18:12 +0000</lastBuildDate>
	<generator>http://wordpress.org/?v=2.9.2</generator>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Benny</title>
		<link>http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/comment-page-1/#comment-4683</link>
		<dc:creator>Benny</dc:creator>
		<pubDate>Wed, 22 Jul 2009 08:58:53 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/#comment-4683</guid>
		<description>Thanks ~~ is that any method to remove the border and hover effect? In fact, I&#039;m working on a button which is circle.  I use a PNG with transparent background. When I use 



I can see the border and the background color is in light grey~ Any way to customize a button for different status such as mouse over, mouse click, release ? Thanks so much~~</description>
		<content:encoded><![CDATA[<p>Thanks ~~ is that any method to remove the border and hover effect? In fact, I&#8217;m working on a button which is circle.  I use a PNG with transparent background. When I use </p>
<p>I can see the border and the background color is in light grey~ Any way to customize a button for different status such as mouse over, mouse click, release ? Thanks so much~~</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/comment-page-1/#comment-647</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 17 Apr 2009 20:27:27 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/#comment-647</guid>
		<description>Jacob P,

haloBlue = #009DFF
haloGreen = #80FF4D
haloOrange = #FFB600
haloSilver = #AECAD9

You can convert other named colors to hex values using the following:

&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Label;

            private function getHex(evt:Event):void {
                var lbl:Label = evt.currentTarget as Label;
                lbl.text += &quot;#&quot; + (&quot;000000&quot; + lbl.getStyle(&quot;color&quot;).toString(16)).substr(-6).toUpperCase();
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:Label id=&quot;haloBlueLabel&quot;
            text=&quot;haloBlue = &quot;
            color=&quot;haloBlue&quot;
            initialize=&quot;getHex(event);&quot; /&gt;

    &lt;mx:Label id=&quot;haloGreenLabel&quot;
            text=&quot;haloGreen = &quot;
            color=&quot;haloGreen&quot;
            initialize=&quot;getHex(event);&quot; /&gt;

    &lt;mx:Label id=&quot;haloOrangeLabel&quot;
            text=&quot;haloOrange = &quot;
            color=&quot;haloOrange&quot;
            initialize=&quot;getHex(event);&quot; /&gt;

    &lt;mx:Label id=&quot;haloSilverLabel&quot;
            text=&quot;haloSilver = &quot;
            color=&quot;haloSilver&quot;
            initialize=&quot;getHex(event);&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>Jacob P,</p>
<p>haloBlue = #009DFF<br />
haloGreen = #80FF4D<br />
haloOrange = #FFB600<br />
haloSilver = #AECAD9</p>
<p>You can convert other named colors to hex values using the following:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;

    &lt;mx:Script&gt;
        &lt;![CDATA[
            import mx.controls.Label;

            private function getHex(evt:Event):void {
                var lbl:Label = evt.currentTarget as Label;
                lbl.text += "#" + ("000000" + lbl.getStyle("color").toString(16)).substr(-6).toUpperCase();
            }
        ]]&gt;
    &lt;/mx:Script&gt;

    &lt;mx:Label id="haloBlueLabel"
            text="haloBlue = "
            color="haloBlue"
            initialize="getHex(event);" /&gt;

    &lt;mx:Label id="haloGreenLabel"
            text="haloGreen = "
            color="haloGreen"
            initialize="getHex(event);" /&gt;

    &lt;mx:Label id="haloOrangeLabel"
            text="haloOrange = "
            color="haloOrange"
            initialize="getHex(event);" /&gt;

    &lt;mx:Label id="haloSilverLabel"
            text="haloSilver = "
            color="haloSilver"
            initialize="getHex(event);" /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jacob P</title>
		<link>http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/comment-page-1/#comment-646</link>
		<dc:creator>Jacob P</dc:creator>
		<pubDate>Fri, 17 Apr 2009 17:09:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/17/setting-a-flex-button-controls-border-color-and-theme-color/#comment-646</guid>
		<description>what are the hex number for the haloColors?</description>
		<content:encoded><![CDATA[<p>what are the hex number for the haloColors?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
