<?xml version="1.0" encoding="UTF-8"?><!-- generator="wordpress/2.2.1" -->
<rss version="2.0" 
	xmlns:content="http://purl.org/rss/1.0/modules/content/">
<channel>
	<title>Comments on: Setting a custom icon field in a Flex Tree control</title>
	<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 02:28:14 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<item>
		<title>By: Rick</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-12170</link>
		<author>Rick</author>
		<pubDate>Mon, 21 Apr 2008 17:38:45 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-12170</guid>
		<description>Any chance you've got an example that allows for setting a unique icon based on the level of nesting? I.e., I'd like to have one icon for the first level of hierarchy, a different one for the second, etc.</description>
		<content:encoded><![CDATA[<p>Any chance you&#8217;ve got an example that allows for setting a unique icon based on the level of nesting? I.e., I&#8217;d like to have one icon for the first level of hierarchy, a different one for the second, etc.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Avery</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-11259</link>
		<author>Avery</author>
		<pubDate>Tue, 08 Apr 2008 16:07:20 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-11259</guid>
		<description>Thank you for the code.</description>
		<content:encoded><![CDATA[<p>Thank you for the code.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: peterd</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-6361</link>
		<author>peterd</author>
		<pubDate>Fri, 25 Jan 2008 08:05:37 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-6361</guid>
		<description>Anonymous,

Try something like the following:
&lt;pre class="code"&gt;
&#60;mx:Style&#62;
    Tree {
        folder-closed-icon: ClassReference(null);
        folder-open-icon: ClassReference(null);
    }
&#60;/mx:Style&#62;
&lt;/pre&gt;

Hope that helps,
Peter

UPDATE: In fact, I just posted a new entry, &lt;a href="http://blog.flexexamples.com/2008/01/25/removing-folder-icons-from-the-flex-tree-control/" rel="nofollow"&gt;"Removing folder icons from the Flex Tree control"&lt;/a&gt;, if you want a full example.</description>
		<content:encoded><![CDATA[<p>Anonymous,</p>
<p>Try something like the following:</p>
<pre class="code">
&lt;mx:Style&gt;
    Tree {
        folder-closed-icon: ClassReference(null);
        folder-open-icon: ClassReference(null);
    }
&lt;/mx:Style&gt;
</pre>
<p>Hope that helps,<br />
Peter</p>
<p>UPDATE: In fact, I just posted a new entry, <a href="http://blog.flexexamples.com/2008/01/25/removing-folder-icons-from-the-flex-tree-control/" rel="nofollow">&#8220;Removing folder icons from the Flex Tree control&#8221;</a>, if you want a full example.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-6359</link>
		<author>Anonymous</author>
		<pubDate>Fri, 25 Jan 2008 07:55:56 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-6359</guid>
		<description>hi,How to hide the icon???
I want only the Arrow display not Folder icon.</description>
		<content:encoded><![CDATA[<p>hi,How to hide the icon???<br />
I want only the Arrow display not Folder icon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-4161</link>
		<author>Gary</author>
		<pubDate>Thu, 15 Nov 2007 11:42:38 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-4161</guid>
		<description>Never mind. I just needed to look at your other example. Thanks!</description>
		<content:encoded><![CDATA[<p>Never mind. I just needed to look at your other example. Thanks!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Gary</title>
		<link>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-4160</link>
		<author>Gary</author>
		<pubDate>Thu, 15 Nov 2007 11:40:56 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/11/15/setting-a-custom-icon-field-in-a-flex-tree-control/#comment-4160</guid>
		<description>Thanks. How about an example of dynamically setting the icon based on some data values?</description>
		<content:encoded><![CDATA[<p>Thanks. How about an example of dynamically setting the icon based on some data values?</p>
]]></content:encoded>
	</item>
</channel>
</rss>
