<?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>Thu, 11 Mar 2010 17:43:17 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.6.1</generator>
		<item>
		<title>By: Flex 4 Skin &#8211; Links &#171; iuricmp</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-156</link>
		<dc:creator>Flex 4 Skin &#8211; Links &#171; iuricmp</dc:creator>
		<pubDate>Wed, 24 Feb 2010 20:59:05 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-156</guid>
		<description>[...] http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g...     Deixe um Comentário [...]</description>
		<content:encoded><![CDATA[<p>[...] <a href="http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g.." rel="nofollow">http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-g..</a>.     Deixe um Comentário [...]</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-133</link>
		<dc:creator>Nikos</dc:creator>
		<pubDate>Sat, 07 Nov 2009 12:58:31 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-133</guid>
		<description>wow so cool, thanks</description>
		<content:encoded><![CDATA[<p>wow so cool, thanks</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carmine</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-116</link>
		<dc:creator>carmine</dc:creator>
		<pubDate>Wed, 09 Sep 2009 02:22:22 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-116</guid>
		<description>s:Button click="button1_clickHandler(event)"
		s:BitmapImage id="tete_coq" source="@Embed('/tete_coq.png')" /
/s:Button

Sorry, the code in my last comment got eaten. Basically, why can't I skin a button by putting a BitmapImage within its tags? 

I appreciate the explanation though. I want to use my psds and ais too! This skinning thing seems heavyhanded though.</description>
		<content:encoded><![CDATA[<p>s:Button click=&#8221;button1_clickHandler(event)&#8221;<br />
		s:BitmapImage id=&#8221;tete_coq&#8221; source=&#8221;@Embed(&#8217;/tete_coq.png&#8217;)&#8221; /<br />
/s:Button</p>
<p>Sorry, the code in my last comment got eaten. Basically, why can&#8217;t I skin a button by putting a BitmapImage within its tags? </p>
<p>I appreciate the explanation though. I want to use my psds and ais too! This skinning thing seems heavyhanded though.</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-115</link>
		<dc:creator>Andy Hulstkamp</dc:creator>
		<pubDate>Sun, 06 Sep 2009 15:31:18 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-115</guid>
		<description>Carmin

I'm not sure if I know what you mean. If you don't need to skin then you can simply use the default spark-buttons. 

The Spark-Button comes without an icon, so if you want one, then you would need to extend the component or the skin.

If you don't need a generic way to have your Icon-Buttons you can embedd the FXG-Definitions right into the skin (so you would have one - mostly duplicated - skin per Icon-Button). If you wan't a more generic approach, you have to externalise the Icon-Graphic. I wanted to use FXG for this and this post looks into this.

To add graphics you could also simply rely on bitmap-based images or vectors in a swf or swc like in flex 3. Have a look at this &lt;a href="http://www.hulstkamp.com/2009/06/20/getting-vector-graphics-into-spark-skins/433" rel="nofollow"&gt; post &lt;/a&gt;.

Now, Adobe has a clear dedication to FXG. The Flex 4 api and components are clearly laid out to use with FXG, the whole Product-Suite has FXG as a new Export-Format and Flash-Catalyst use FXG.

Personally I like to have an editable vector-graphics format right in Flash-Builder. With FXG, once the Export is done, I can esily edit some aspects of the graphics right in the IDE - and using FXG gives me advantages when using some tags (transitions) or working with the graphics-api in Flex 4. That's why I used the round-trip via FC (which gives me nice mxml-components with FXG that I can use right away.)

Now, Flash-Catalyst and Flex 4 is not quite where I'd love it to be. I think we need a way to export FXG-Definitions to a library and load and access them at runtime. Adobe is not there yet, but I'm pretty sure that this will be added with priority in later versions.

Even with this limitations I'm gonna use FXG wherever I can but I think it's perfectly ok to use other formats if this suits the task.

Does this answer your question?</description>
		<content:encoded><![CDATA[<p>Carmin</p>
<p>I&#8217;m not sure if I know what you mean. If you don&#8217;t need to skin then you can simply use the default spark-buttons. </p>
<p>The Spark-Button comes without an icon, so if you want one, then you would need to extend the component or the skin.</p>
<p>If you don&#8217;t need a generic way to have your Icon-Buttons you can embedd the FXG-Definitions right into the skin (so you would have one - mostly duplicated - skin per Icon-Button). If you wan&#8217;t a more generic approach, you have to externalise the Icon-Graphic. I wanted to use FXG for this and this post looks into this.</p>
<p>To add graphics you could also simply rely on bitmap-based images or vectors in a swf or swc like in flex 3. Have a look at this <a href="http://www.hulstkamp.com/2009/06/20/getting-vector-graphics-into-spark-skins/433" rel="nofollow"> post </a>.</p>
<p>Now, Adobe has a clear dedication to FXG. The Flex 4 api and components are clearly laid out to use with FXG, the whole Product-Suite has FXG as a new Export-Format and Flash-Catalyst use FXG.</p>
<p>Personally I like to have an editable vector-graphics format right in Flash-Builder. With FXG, once the Export is done, I can esily edit some aspects of the graphics right in the IDE - and using FXG gives me advantages when using some tags (transitions) or working with the graphics-api in Flex 4. That&#8217;s why I used the round-trip via FC (which gives me nice mxml-components with FXG that I can use right away.)</p>
<p>Now, Flash-Catalyst and Flex 4 is not quite where I&#8217;d love it to be. I think we need a way to export FXG-Definitions to a library and load and access them at runtime. Adobe is not there yet, but I&#8217;m pretty sure that this will be added with priority in later versions.</p>
<p>Even with this limitations I&#8217;m gonna use FXG wherever I can but I think it&#8217;s perfectly ok to use other formats if this suits the task.</p>
<p>Does this answer your question?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carmine</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-114</link>
		<dc:creator>carmine</dc:creator>
		<pubDate>Sun, 06 Sep 2009 01:30:42 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-114</guid>
		<description>Andy, I am losing my mind here. Why can't I do this:


 
	

Why import graphics from catalyst if you can't use them easily? This is a one time interaction for one project, I don't need to skin! I will continue reading your examples, but if you have some quick enlightenment, it would be much appreciated.</description>
		<content:encoded><![CDATA[<p>Andy, I am losing my mind here. Why can&#8217;t I do this:</p>
<p>Why import graphics from catalyst if you can&#8217;t use them easily? This is a one time interaction for one project, I don&#8217;t need to skin! I will continue reading your examples, but if you have some quick enlightenment, it would be much appreciated.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Yarin</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-112</link>
		<dc:creator>Yarin</dc:creator>
		<pubDate>Fri, 04 Sep 2009 19:58:14 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-112</guid>
		<description>Huge! Thank you</description>
		<content:encoded><![CDATA[<p>Huge! Thank you</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: WS-Blog &#187; Quick tip (Flex 4): Using generic skin classes</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-99</link>
		<dc:creator>WS-Blog &#187; Quick tip (Flex 4): Using generic skin classes</dc:creator>
		<pubDate>Mon, 10 Aug 2009 16:29:16 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-99</guid>
		<description>[...] &#8220;Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo)&#8221; by Andy Hulstkamp [...]</description>
		<content:encoded><![CDATA[<p>[...] &#8220;Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo)&#8221; by Andy Hulstkamp [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Flex 4 skinning ignores developer needs &#124;</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-97</link>
		<dc:creator>Flex 4 skinning ignores developer needs &#124;</dc:creator>
		<pubDate>Mon, 03 Aug 2009 19:56:35 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-97</guid>
		<description>[...] noticed a number of people here (Andy McIntosh), and here (Andy Hulstkamp) working with button icon skins. The main reason for this is that Adobe saw fit to remove the icon [...]</description>
		<content:encoded><![CDATA[<p>[...] noticed a number of people here (Andy McIntosh), and here (Andy Hulstkamp) working with button icon skins. The main reason for this is that Adobe saw fit to remove the icon [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: AH: Spark Icon Button with Gradient effects and Filter animation, colorized by styles. Flex 4 (Gumbo) - Andy Hulstkamp. Seedlings for RIAs</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-79</link>
		<dc:creator>AH: Spark Icon Button with Gradient effects and Filter animation, colorized by styles. Flex 4 (Gumbo) - Andy Hulstkamp. Seedlings for RIAs</dc:creator>
		<pubDate>Sun, 21 Jun 2009 17:25:50 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-79</guid>
		<description>[...] Check this example for a more advanced and generic [...]</description>
		<content:encoded><![CDATA[<p>[...] Check this example for a more advanced and generic [...]</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo) &#124; Web 2.0 Designer</title>
		<link>http://www.hulstkamp.com/2009/06/20/advanced-fxg-spark-icon-buttons-with-one-generic-skin-in-flex4-gumbo/439#comment-75</link>
		<dc:creator>Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo) &#124; Web 2.0 Designer</dc:creator>
		<pubDate>Sat, 20 Jun 2009 19:04:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.hulstkamp.com/?p=439#comment-75</guid>
		<description>[...] Original post: Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo) [...]</description>
		<content:encoded><![CDATA[<p>[...] Original post: Advanced FXG Spark Icon Buttons with one generic skin in Flex4 (Gumbo) [...]</p>
]]></content:encoded>
	</item>
</channel>
</rss>
