<?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"
	>
<channel>
	<title>Comments on: Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo)</title>
	<atom:link href="http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439/feed" rel="self" type="application/rss+xml" />
	<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439</link>
	<description>andy hulstkamp blog about rich internet applications, flex, flash, java, webapps, web, code, experiments</description>
	<pubDate>Wed, 08 Sep 2010 12:02:18 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Seraphin</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-262</link>
		<dc:creator>Seraphin</dc:creator>
		<pubDate>Tue, 27 Jul 2010 14:24:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-262</guid>
		<description>Thanks a lot, it works. ;-)</description>
		<content:encoded><![CDATA[<p>Thanks a lot, it works. <img src='http://www.hulstkamp.com/soil/wp-includes/images/smilies/icon_wink.gif' alt=';-)' class='wp-smiley' /></p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-261</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Tue, 27 Jul 2010 14:13:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-261</guid>
		<description>Seraphin

Flex 4 uses the value in 'emphasized' to switch the styleName. If 'emphasized' is set to true, Flex will look for a styleName 'emphasized' and applies all the styles to the button.

Thus using

s&#124;Button.emphasized {
skinClass: ClassReference('AHGenericFXGIconButtonSkin');
chromeColor: "0x00FF00" ; 
color: #FFFFFF;
iconColor: #e0e0e0;
iconScale: 0.75;
iconClass: ClassReference("myLibrary.Bus");
color: "0xe0e0e0";
}

will aplly all the values to the Button (Skin). Change them as needed.

Actually I don't know why the Flex SDK team did not decide to use the emphasize property as a state. But then again, you could easily introduce this to the component:

Extend from Button override the emphasized property and change the behaviour so that a new state is being introduced. Then use this state in the skin to define a emphasized state.

hth
andy</description>
		<content:encoded><![CDATA[<p>Seraphin</p>
<p>Flex 4 uses the value in &#8216;emphasized&#8217; to switch the styleName. If &#8216;emphasized&#8217; is set to true, Flex will look for a styleName &#8216;emphasized&#8217; and applies all the styles to the button.</p>
<p>Thus using</p>
<p>s|Button.emphasized {<br />
skinClass: ClassReference(&#8217;AHGenericFXGIconButtonSkin&#8217;);<br />
chromeColor: &#8220;0&#215;00FF00&#8243; ;<br />
color: #FFFFFF;<br />
iconColor: #e0e0e0;<br />
iconScale: 0.75;<br />
iconClass: ClassReference(&#8221;myLibrary.Bus&#8221;);<br />
color: &#8220;0xe0e0e0&#8243;;<br />
}</p>
<p>will aplly all the values to the Button (Skin). Change them as needed.</p>
<p>Actually I don&#8217;t know why the Flex SDK team did not decide to use the emphasize property as a state. But then again, you could easily introduce this to the component:</p>
<p>Extend from Button override the emphasized property and change the behaviour so that a new state is being introduced. Then use this state in the skin to define a emphasized state.</p>
<p>hth<br />
andy</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Seraphin</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-260</link>
		<dc:creator>Seraphin</dc:creator>
		<pubDate>Tue, 27 Jul 2010 11:05:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-260</guid>
		<description>Hello ! Thanks for your skin, it's so pretty !
I have an issue with a button used as defaultbutton of a form.
When a field is focus, the button swith in emphasize mode, and the skin doesn't seem to be compliant with that.

How can i manage easily that ?
I tried to add 
emphasized-skin: ClassReference('skins.buttons.FXGIcon'); in my css, but nothing happened.
Have you an idea ?

Thanks a lot.</description>
		<content:encoded><![CDATA[<p>Hello ! Thanks for your skin, it&#8217;s so pretty !<br />
I have an issue with a button used as defaultbutton of a form.<br />
When a field is focus, the button swith in emphasize mode, and the skin doesn&#8217;t seem to be compliant with that.</p>
<p>How can i manage easily that ?<br />
I tried to add<br />
emphasized-skin: ClassReference(&#8217;skins.buttons.FXGIcon&#8217;); in my css, but nothing happened.<br />
Have you an idea ?</p>
<p>Thanks a lot.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-247</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Thu, 01 Jul 2010 22:46:43 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-247</guid>
		<description>Nikos

Not that I know but you could use AI and export as FXG.</description>
		<content:encoded><![CDATA[<p>Nikos</p>
<p>Not that I know but you could use AI and export as FXG.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Nikos</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-246</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Thu, 01 Jul 2010 11:14:25 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-246</guid>
		<description>Are there any librarys of mxml icons out there, I don't have FC</description>
		<content:encoded><![CDATA[<p>Are there any librarys of mxml icons out there, I don&#8217;t have FC</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-243</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Mon, 28 Jun 2010 02:43:40 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-243</guid>
		<description>OK! I got it. I removed the fillIconWithColor() and commented out the 2 references in the updateSymbol().

thanks for your many great posts and ideas.

Mark</description>
		<content:encoded><![CDATA[<p>OK! I got it. I removed the fillIconWithColor() and commented out the 2 references in the updateSymbol().</p>
<p>thanks for your many great posts and ideas.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-239</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sat, 26 Jun 2010 17:58:55 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-239</guid>
		<description>Andy,

I spoke too soon. Can you advise how I might use a source FXG file that will allow for fully colorized image?

Again, many, many thanks.

Mark</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>I spoke too soon. Can you advise how I might use a source FXG file that will allow for fully colorized image?</p>
<p>Again, many, many thanks.</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-237</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Sat, 26 Jun 2010 01:10:15 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-237</guid>
		<description>Andy,

w/r/t multiple colors...

I got it!

thanks,

Mark</description>
		<content:encoded><![CDATA[<p>Andy,</p>
<p>w/r/t multiple colors&#8230;</p>
<p>I got it!</p>
<p>thanks,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mark</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-236</link>
		<dc:creator>Mark</dc:creator>
		<pubDate>Fri, 25 Jun 2010 22:06:58 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-236</guid>
		<description>Hi Andy,

Again, thanks for all of your great posts!

I have been implementing some of your techniques and am having trouble with one thing. I have some FXG files that have multiple colors in them. I have removed styling ( iconColor ) in hopes that this would allow the base colors of the FXG to show - no luck...

Do you have any ideas on what might solve this?

Many thanks,

Mark</description>
		<content:encoded><![CDATA[<p>Hi Andy,</p>
<p>Again, thanks for all of your great posts!</p>
<p>I have been implementing some of your techniques and am having trouble with one thing. I have some FXG files that have multiple colors in them. I have removed styling ( iconColor ) in hopes that this would allow the base colors of the FXG to show - no luck&#8230;</p>
<p>Do you have any ideas on what might solve this?</p>
<p>Many thanks,</p>
<p>Mark</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Andy Hulstkamp</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-235</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Thu, 24 Jun 2010 09:58:39 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-235</guid>
		<description>Mark

Make sure the sdk is included in the classpath and have a look at the updated components.</description>
		<content:encoded><![CDATA[<p>Mark</p>
<p>Make sure the sdk is included in the classpath and have a look at the updated components.</p>
]]></content:encoded>
	</item>
</channel>
</rss>
