<?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: Using an Array as a data provider in a Flex Tree control</title>
	<atom:link href="http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/</link>
	<description>Just a bunch of Adobe Flex Examples</description>
	<lastBuildDate>Sun, 12 Feb 2012 19:26:49 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
		<item>
		<title>By: ht_addin</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-10218</link>
		<dc:creator>ht_addin</dc:creator>
		<pubDate>Sat, 03 Dec 2011 23:15:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-10218</guid>
		<description>Why adobe doesn&#039;t show this example in their help boggles my mind.  Sooooo much easier and flexible than using XMLListCollection.</description>
		<content:encoded><![CDATA[<p>Why adobe doesn&#8217;t show this example in their help boggles my mind.  Sooooo much easier and flexible than using XMLListCollection.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-8975</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Wed, 16 Feb 2011 21:06:26 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-8975</guid>
		<description>@mattlink,

You probably need to specify a &lt;code&gt;labelFunction&lt;/code&gt; which tells the Tree control which item from the object to use for the label.

Peter</description>
		<content:encoded><![CDATA[<p>@mattlink,</p>
<p>You probably need to specify a <code>labelFunction</code> which tells the Tree control which item from the object to use for the label.</p>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: mattlink</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-8974</link>
		<dc:creator>mattlink</dc:creator>
		<pubDate>Wed, 16 Feb 2011 20:40:47 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-8974</guid>
		<description>well, I tried using your code but it does not work, do the same as you, but instead of that I return the list of data, I return this: [Object Object] on all nodes, anyone know why??</description>
		<content:encoded><![CDATA[<p>well, I tried using your code but it does not work, do the same as you, but instead of that I return the list of data, I return this: [Object Object] on all nodes, anyone know why??</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Anonymous</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-7535</link>
		<dc:creator>Anonymous</dc:creator>
		<pubDate>Wed, 21 Apr 2010 08:10:24 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-7535</guid>
		<description>hi , iam kiran

can u please suggest me, the solution for the problem.

i had arraycollection with label and id, i want to provide it to the tree, but i want the list of label to come under the clicable folder,
iam only able to display it in normal flatlist of labels

hope for the solutions 
thanks
kiran</description>
		<content:encoded><![CDATA[<p>hi , iam kiran</p>
<p>can u please suggest me, the solution for the problem.</p>
<p>i had arraycollection with label and id, i want to provide it to the tree, but i want the list of label to come under the clicable folder,<br />
iam only able to display it in normal flatlist of labels</p>
<p>hope for the solutions<br />
thanks<br />
kiran</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Brian Russel Davis</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-7384</link>
		<dc:creator>Brian Russel Davis</dc:creator>
		<pubDate>Tue, 30 Mar 2010 14:04:25 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-7384</guid>
		<description>Do you think we can get a sample where you use the &quot;connect to XML&quot; data services feature in Flex 4?  I really want to start using this but I can&#039;t seem to figure out how to get it to properly serialize the data so it makes sense for the tree control.</description>
		<content:encoded><![CDATA[<p>Do you think we can get a sample where you use the &#8220;connect to XML&#8221; data services feature in Flex 4?  I really want to start using this but I can&#8217;t seem to figure out how to get it to properly serialize the data so it makes sense for the tree control.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Hmmm...</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-4681</link>
		<dc:creator>Hmmm...</dc:creator>
		<pubDate>Wed, 22 Jul 2009 06:43:16 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-4681</guid>
		<description>Just hardcoded stuff..... its nothing special</description>
		<content:encoded><![CDATA[<p>Just hardcoded stuff&#8230;.. its nothing special</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Frederik Heyninck</title>
		<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/comment-page-1/#comment-2057</link>
		<dc:creator>Frederik Heyninck</dc:creator>
		<pubDate>Tue, 04 Dec 2007 07:29:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-2057</guid>
		<description>Nice one.
Do you know how I can navigatie in a viewstack with a tree?
&lt;pre class=&quot;code&quot;&gt;
 public function treeChanged(event:Event):void
  {
            	if(event.target.selectedItem.@vs == &quot;&quot;)
            	{
            		Alert.show(&quot;empty&quot;);
            	}
            	else
            	{
            		            	contentA.selectedChild = Tree(event.target).selectedItem.@vs as Container;
            	}
&lt;/pre&gt;

But that doesn&#039;t work.</description>
		<content:encoded><![CDATA[<p>Nice one.<br />
Do you know how I can navigatie in a viewstack with a tree?</p>
<pre class="code">
 public function treeChanged(event:Event):void
  {
            	if(event.target.selectedItem.@vs == "")
            	{
            		Alert.show("empty");
            	}
            	else
            	{
            		            	contentA.selectedChild = Tree(event.target).selectedItem.@vs as Container;
            	}
</pre>
<p>But that doesn&#8217;t work.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

