<?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: Now available: FlpTree 1.2.0</title>
	<atom:link href="http://labs.flexperiments.nl/now-available-flptree-120/feed/" rel="self" type="application/rss+xml" />
	<link>http://labs.flexperiments.nl/now-available-flptree-120/</link>
	<description></description>
	<lastBuildDate>Fri, 30 Dec 2011 02:49:50 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3</generator>
	<item>
		<title>By: Ids</title>
		<link>http://labs.flexperiments.nl/now-available-flptree-120/comment-page-1/#comment-566</link>
		<dc:creator>Ids</dc:creator>
		<pubDate>Thu, 27 Nov 2008 19:07:02 +0000</pubDate>
		<guid isPermaLink="false">http://labs.flexperiments.nl/?p=36#comment-566</guid>
		<description>Instead of using the ArrayUtil class, you can just type:
TreeMenu.dataprovider = new ArrayCollection(event.result);
or (if it&#039;s allready an array collection)
TreeMenu.dataprovider = event.result as ArrayCollection;

Note that the children property also has to be an array collection.

Do you see any nodes at all, or just the top level nodes?

Have you tried calling TreeMenu.refreshTree() ? This function forces the tree to rebuild. Not the most elegant way, I admit.

Also, you could try to use (mxml) binding for the dataprovider, instead of setting it in AS. Note that when you do use binding, it generally only works for top-level nodes in the arraycollection, updates of children do not trigger binding, so you have to call myArraycollection.refresh();.

Hope this helps!</description>
		<content:encoded><![CDATA[<p>Instead of using the ArrayUtil class, you can just type:<br />
TreeMenu.dataprovider = new ArrayCollection(event.result);<br />
or (if it&#8217;s allready an array collection)<br />
TreeMenu.dataprovider = event.result as ArrayCollection;</p>
<p>Note that the children property also has to be an array collection.</p>
<p>Do you see any nodes at all, or just the top level nodes?</p>
<p>Have you tried calling TreeMenu.refreshTree() ? This function forces the tree to rebuild. Not the most elegant way, I admit.</p>
<p>Also, you could try to use (mxml) binding for the dataprovider, instead of setting it in AS. Note that when you do use binding, it generally only works for top-level nodes in the arraycollection, updates of children do not trigger binding, so you have to call myArraycollection.refresh();.</p>
<p>Hope this helps!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: dkhan</title>
		<link>http://labs.flexperiments.nl/now-available-flptree-120/comment-page-1/#comment-564</link>
		<dc:creator>dkhan</dc:creator>
		<pubDate>Thu, 27 Nov 2008 09:31:48 +0000</pubDate>
		<guid isPermaLink="false">http://labs.flexperiments.nl/?p=36#comment-564</guid>
		<description>Hello,

it seems as if the height problem occurs as soon as a branch is opened, closed and reopened.

But this is not my main problem. FlpTree is really great and looks and feels much better than the regular Flex Tree Component.
Unfortunately I can&#039;t geht it to work as soon as the data comes from over AMF. AMF returns VO objects as array and I convert this to an array collection. This works with Flex Tree but not with FlpTree.
Inside my event handler I try to set the FlpTree dataProvider as ArrayCollection but nothing happens.

This is the code:
TreeMenu.dataProvider = new ArrayCollection(ArrayUtil.toArray(event.result)); 

Maybe anyone knows what I am doing wrong...</description>
		<content:encoded><![CDATA[<p>Hello,</p>
<p>it seems as if the height problem occurs as soon as a branch is opened, closed and reopened.</p>
<p>But this is not my main problem. FlpTree is really great and looks and feels much better than the regular Flex Tree Component.<br />
Unfortunately I can&#8217;t geht it to work as soon as the data comes from over AMF. AMF returns VO objects as array and I convert this to an array collection. This works with Flex Tree but not with FlpTree.<br />
Inside my event handler I try to set the FlpTree dataProvider as ArrayCollection but nothing happens.</p>
<p>This is the code:<br />
TreeMenu.dataProvider = new ArrayCollection(ArrayUtil.toArray(event.result)); </p>
<p>Maybe anyone knows what I am doing wrong&#8230;</p>
]]></content:encoded>
	</item>
</channel>
</rss>

