<?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: Using an Array as a data provider in a Flex Tree control</title>
	<link>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/</link>
	<description>A bunch of examples for Adobe Flex and ActionScript</description>
	<pubDate>Tue, 06 Jan 2009 09:24:09 +0000</pubDate>
	<generator>http://wordpress.org/?v=2.2.1</generator>

	<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-4732</link>
		<author>Frederik Heyninck</author>
		<pubDate>Tue, 04 Dec 2007 08:29:07 +0000</pubDate>
		<guid>http://blog.flexexamples.com/2007/12/03/using-an-array-as-a-data-provider-in-a-flex-tree-control/#comment-4732</guid>
		<description>Nice one.
Do you know how I can navigatie in a viewstack with a tree?

 public function treeChanged(event:Event):void
  {
            	
            	
            	if(event.target.selectedItem.@vs == "")
            	{
            		Alert.show("empty");
            	}
            	else
            	{
            		            	contentA.selectedChild = Tree(event.target).selectedItem.@vs as Container;

            		
            	}

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