<?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 the isBranch() method to determine if a Tree item is a branch or leaf</title>
	<atom:link href="http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/feed/" rel="self" type="application/rss+xml" />
	<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/</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: Jan</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2049</link>
		<dc:creator>Jan</dc:creator>
		<pubDate>Thu, 04 Jun 2009 12:48:07 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2049</guid>
		<description>thanks. Exactly what I was looking for.</description>
		<content:encoded><![CDATA[<p>thanks. Exactly what I was looking for.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Mosima</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2050</link>
		<dc:creator>Mosima</dc:creator>
		<pubDate>Wed, 29 Apr 2009 09:03:54 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2050</guid>
		<description>I need Help Please
If one of the leaf&#039;s status is not Fine then The Root or Parent must show By any means that one one of My children/leaf is not Fine. How do I Do That?

Preferable I would Like to Use ImageIcon.</description>
		<content:encoded><![CDATA[<p>I need Help Please<br />
If one of the leaf&#8217;s status is not Fine then The Root or Parent must show By any means that one one of My children/leaf is not Fine. How do I Do That?</p>
<p>Preferable I would Like to Use ImageIcon.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: ideesh</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2052</link>
		<dc:creator>ideesh</dc:creator>
		<pubDate>Sun, 15 Feb 2009 16:55:02 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2052</guid>
		<description>how can i make one branch is opened at a time, if i opened one branch other branches close</description>
		<content:encoded><![CDATA[<p>how can i make one branch is opened at a time, if i opened one branch other branches close</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Peter deHaan</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2048</link>
		<dc:creator>Peter deHaan</dc:creator>
		<pubDate>Fri, 23 Jan 2009 15:39:41 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2048</guid>
		<description>darwin/carlodemarchis,

Try adding an &quot;isBranch&quot; attribute in the level2 node and setting its value to &lt;code&gt;false&lt;/code&gt;, as seen in the following example:

&lt;pre class=&quot;code&quot;&gt;
&lt;?xml version=&quot;1.0&quot; encoding=&quot;utf-8&quot;?&gt;
&lt;mx:Application xmlns:mx=&quot;http://www.adobe.com/2006/mxml&quot;&gt;

    &lt;mx:XML id=&quot;xmlDP&quot; xmlns=&quot;&quot;&gt;
        &lt;root label=&quot;root&quot;&gt;
            &lt;level1 label=&quot;level1&quot;&gt;
                &lt;level2 label=&quot;level2&quot; isBranch=&quot;false&quot;&gt;
                    &lt;level3 label=&quot;level3&quot;&gt;
                    &lt;/level3&gt;
                &lt;/level2&gt;
            &lt;/level1&gt;
        &lt;/root&gt;
    &lt;/mx:XML&gt;

    &lt;mx:Tree id=&quot;tree&quot;
            dataProvider=&quot;{xmlDP}&quot;
            labelField=&quot;@label&quot;
            width=&quot;300&quot; /&gt;

&lt;/mx:Application&gt;
&lt;/pre&gt;

Peter</description>
		<content:encoded><![CDATA[<p>darwin/carlodemarchis,</p>
<p>Try adding an &#8220;isBranch&#8221; attribute in the level2 node and setting its value to <code>false</code>, as seen in the following example:</p>
<pre class="code">
&lt;?xml version="1.0" encoding="utf-8"?&gt;
&lt;mx:Application xmlns:mx="http://www.adobe.com/2006/mxml"&gt;

    &lt;mx:XML id="xmlDP" xmlns=""&gt;
        &lt;root label="root"&gt;
            &lt;level1 label="level1"&gt;
                &lt;level2 label="level2" isBranch="false"&gt;
                    &lt;level3 label="level3"&gt;
                    &lt;/level3&gt;
                &lt;/level2&gt;
            &lt;/level1&gt;
        &lt;/root&gt;
    &lt;/mx:XML&gt;

    &lt;mx:Tree id="tree"
            dataProvider="{xmlDP}"
            labelField="@label"
            width="300" /&gt;

&lt;/mx:Application&gt;
</pre>
<p>Peter</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: carlodemarchis</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2051</link>
		<dc:creator>carlodemarchis</dc:creator>
		<pubDate>Thu, 22 Jan 2009 22:01:31 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2051</guid>
		<description>Please someone reply to DARWIN... I have the same urgent question!!!!</description>
		<content:encoded><![CDATA[<p>Please someone reply to DARWIN&#8230; I have the same urgent question!!!!</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darwin</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2047</link>
		<dc:creator>darwin</dc:creator>
		<pubDate>Fri, 25 Jan 2008 06:08:20 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2047</guid>
		<description>Hi, I have a question. for example this is my XML:









how do I hide level3 node in the tree? (having level3 node not showing up). or how do I make level2 a leaf instead of branch. that way when level2 is selected, level3 doesn&#039;t show? is that possible? I&#039;ve search all over the internet and I could not find any tutorial on this.

Please help. Thank you very much.</description>
		<content:encoded><![CDATA[<p>Hi, I have a question. for example this is my XML:</p>
<p>how do I hide level3 node in the tree? (having level3 node not showing up). or how do I make level2 a leaf instead of branch. that way when level2 is selected, level3 doesn&#8217;t show? is that possible? I&#8217;ve search all over the internet and I could not find any tutorial on this.</p>
<p>Please help. Thank you very much.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: darwin</title>
		<link>http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/comment-page-1/#comment-2046</link>
		<dc:creator>darwin</dc:creator>
		<pubDate>Fri, 25 Jan 2008 05:11:17 +0000</pubDate>
		<guid isPermaLink="false">http://blog.flexexamples.com/2007/11/30/using-the-isbranch-method-to-determine-if-a-tree-item-is-a-branch-or-leaf/#comment-2046</guid>
		<description>Hi, I have a question. for example this is my XML:(sorry, I use hyphen instead of tag, because the tag didn&#039;t show up)

&lt;pre class=&quot;code&quot;&gt;
&lt;root&gt;
  &lt;level1&gt;
    &lt;level2&gt;
      &lt;level3&gt;
      &lt;/level3&gt;
    &lt;/level2&gt;
  &lt;/level1&gt;
&lt;/root&gt;
&lt;/pre&gt;

how do I hide level3 node in the tree? (having level3 node not showing up). or how do I make level2 a leaf instead of branch. that way when level2 is selected, level3 doesn’t show? is that possible? I’ve search all over the internet and I could not find any tutorial on this.

Please help. Thank you very much.</description>
		<content:encoded><![CDATA[<p>Hi, I have a question. for example this is my XML:(sorry, I use hyphen instead of tag, because the tag didn&#8217;t show up)</p>
<pre class="code">
&lt;root&gt;
  &lt;level1&gt;
    &lt;level2&gt;
      &lt;level3&gt;
      &lt;/level3&gt;
    &lt;/level2&gt;
  &lt;/level1&gt;
&lt;/root&gt;
</pre>
<p>how do I hide level3 node in the tree? (having level3 node not showing up). or how do I make level2 a leaf instead of branch. that way when level2 is selected, level3 doesn’t show? is that possible? I’ve search all over the internet and I could not find any tutorial on this.</p>
<p>Please help. Thank you very much.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

