<?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: Adding icons to a Flex TabNavigator control</title>
	<atom:link href="http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 14:19:03 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-8778</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 28 Dec 2010 19:07:51 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-8778</guid>
		<description>@Tahir Alvi,

I&#039;ve never used degrafa, sorry.

Peter</description>
		<content:encoded><![CDATA[<p>@Tahir Alvi,</p>
<p>I&#8217;ve never used degrafa, sorry.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Tahir Alvi</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-8776</link>
		<dc:creator>Tahir Alvi</dc:creator>
		<pubDate>Tue, 28 Dec 2010 15:14:28 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-8776</guid>
		<description>Hi,

can we apply skin on the tabs with &quot;degrafa&quot;. are you you ever try with it.

anyway good example.

Tahir Alvi</description>
		<content:encoded><![CDATA[<p>Hi,</p>
<p>can we apply skin on the tabs with &#8220;degrafa&#8221;. are you you ever try with it.</p>
<p>anyway good example.</p>
<p>Tahir Alvi</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: oliver</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-8069</link>
		<dc:creator>oliver</dc:creator>
		<pubDate>Mon, 05 Jul 2010 14:57:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-8069</guid>
		<description>private function placeLabel():void{
setStyle and TextAlign should work ...
	   	
			   	for (var i:int = 0; i &lt; linkTab.numChildren; i++) {
			   		
			   		var tab:Tab = linkTab.getTabAt(i) as Tab;
			   		tab.setStyle(&quot;textAlign&quot;,&quot;left&quot;);
			   		
			   		}
		   		}</description>
		<content:encoded><![CDATA[<p>private function placeLabel():void{<br />
setStyle and TextAlign should work &#8230;</p>
<p>			   	for (var i:int = 0; i &lt; linkTab.numChildren; i++) {</p>
<p>			   		var tab:Tab = linkTab.getTabAt(i) as Tab;<br />
			   		tab.setStyle(&quot;textAlign&quot;,&quot;left&quot;);</p>
<p>			   		}<br />
		   		}</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-6207</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Tue, 03 Nov 2009 01:46:52 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-6207</guid>
		<description>Works for me. Just verified it again in Flex SDK 3.5.0.11086.

Peter</description>
		<content:encoded><![CDATA[<p>Works for me. Just verified it again in Flex SDK 3.5.0.11086.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Ivonne</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-6199</link>
		<dc:creator>Ivonne</dc:creator>
		<pubDate>Mon, 02 Nov 2009 19:01:00 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-6199</guid>
		<description>Did this work for anyone? I can&#039;t get the icon to the right still...</description>
		<content:encoded><![CDATA[<p>Did this work for anyone? I can&#8217;t get the icon to the right still&#8230;</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jovica Aleksic</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-5745</link>
		<dc:creator>Jovica Aleksic</dc:creator>
		<pubDate>Sun, 13 Sep 2009 14:25:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-5745</guid>
		<description>Heh, totally forgot about this entry. Long time no see :-)

Well, my Assets class is (overly) complicated and consists of several helper classes. It would be too much to post it here. Should somebody be interested, feel free to drop a mail at jovica.aleksic_at_loopmode.de.

However, the TabNavigator-with-icons situation became obsolete, because due to further project-specific complications I decided not to use the Flex TabNavigator, but create a &quot;fake&quot; custom tabNavigator using the usual containers like Canvas, Hbox etc.</description>
		<content:encoded><![CDATA[<p>Heh, totally forgot about this entry. Long time no see :-)</p>
<p>Well, my Assets class is (overly) complicated and consists of several helper classes. It would be too much to post it here. Should somebody be interested, feel free to drop a mail at jovica.aleksic_at_loopmode.de.</p>
<p>However, the TabNavigator-with-icons situation became obsolete, because due to further project-specific complications I decided not to use the Flex TabNavigator, but create a &#8220;fake&#8221; custom tabNavigator using the usual containers like Canvas, Hbox etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-4834</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 29 Jul 2009 23:53:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-4834</guid>
		<description>@Jovica Aleksic,

What does your Assets class look like? Can you post the code here.

Peter</description>
		<content:encoded><![CDATA[<p>@Jovica Aleksic,</p>
<p>What does your Assets class look like? Can you post the code here.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jovica Aleksic</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-4816</link>
		<dc:creator>Jovica Aleksic</dc:creator>
		<pubDate>Wed, 29 Jul 2009 12:32:06 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-4816</guid>
		<description>My example was supposed to be
&lt;pre lang=&quot;mxml&quot;&gt;
&lt;Image source=&quot;{Assets.getAsset(&#039;TalentTabIconEconomy&#039;)}&quot;/&gt;
&lt;/pre&gt;

and i can&#039;t seem to find a solution yet :(</description>
		<content:encoded><![CDATA[<p>My example was supposed to be</p>

<div class="wp_syntax"><div class="code"><pre class="mxml" style="font-family:monospace;"><span style="color: #000000;">&lt;Image source=<span style="color: #ff0000;">&quot;{Assets.getAsset('TalentTabIconEconomy')}&quot;</span><span style="color: #7400FF;">/&gt;</span></span></pre></div></div>

<p>and i can&#8217;t seem to find a solution yet :(</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Jovica Aleksic</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-4814</link>
		<dc:creator>Jovica Aleksic</dc:creator>
		<pubDate>Wed, 29 Jul 2009 12:17:38 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-4814</guid>
		<description>I am trying to use icons loaded with my asset loading system (which is quite common-style), and I get a coercion error..

Basically, my Assets singleton class returns a class reference to an asset which is stored inside an external swf.
The assets are loaded, and I use the system everywhere in the project. for example 
&lt;code&gt;

&lt;/code&gt;

Now for use as icon, this approach doesnt seem to work.  I get
&lt;code&gt;
Flex Error #1034: Type Coercion Failed: Cannot Convert TalentTabIconEconomy@6d40c41 to mx.core.IFlexDisplayObject
&lt;/code&gt;

Will try to find a solution and post it here.</description>
		<content:encoded><![CDATA[<p>I am trying to use icons loaded with my asset loading system (which is quite common-style), and I get a coercion error..</p>
<p>Basically, my Assets singleton class returns a class reference to an asset which is stored inside an external swf.<br />
The assets are loaded, and I use the system everywhere in the project. for example<br />
<code></p>
<p></code></p>
<p>Now for use as icon, this approach doesnt seem to work.  I get<br />
<code><br />
Flex Error #1034: Type Coercion Failed: Cannot Convert TalentTabIconEconomy@6d40c41 to mx.core.IFlexDisplayObject<br />
</code></p>
<p>Will try to find a solution and post it here.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Luc</title>
		<link>http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/comment-page-1/#comment-4807</link>
		<dc:creator>Luc</dc:creator>
		<pubDate>Wed, 29 Jul 2009 07:19:49 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/08/16/adding-icons-to-a-flex-tabnavigator-control/#comment-4807</guid>
		<description>I have been trying to animate those icons in the TabNavigator. Any idea on how to do that?
Thanks</description>
		<content:encoded><![CDATA[<p>I have been trying to animate those icons in the TabNavigator. Any idea on how to do that?<br />
Thanks</p>
]]></content:encoded>
	</item>
</channel>
</rss>

