This needs to be..
<mx:Tree labelField="@label" id="tree1"
XPath
Peace, Mike
On 3/17/06, christopherjdunn <[EMAIL PROTECTED]> wrote:
I'm trying out the Tree's and having some problems. I'm using an XML
file and can get the 2st level of the tree, but none of the folders or
sub items show up. I;m not sure where i'm going wrong, the following
is both files.
XML File:
<node>
<node label="Technology">
<node label="ASP.NET" />
<node label="HTML/CSS" />
<node label="_javascript_" />
<node label="SQL" />
<node label="Tech Experiments" />
</node>
<node label="Utilities">
<node label="Client tools" />
<node label="Server tools" />
</node>
<node label="Design">
<node label="Cool layouts" />
<node label="Design experiments" />
</node>
<node label="Usability">
</node>
<node label="Off-topic">
</node>
</node>
MXML File:
<?xml version="1.0"?>
<mx:Application xmlns:mx="http://www.macromedia.com/2005/mxml"
creationComplete="devicetree.send()">
<mx:HTTPService id="devicetree" url="" useProxy="false" />
<mx:Panel width="812" height="485" layout="absolute">
<mx:Tree labelField="label" id="tree1" width="217" height="374"
dataProvider="{devicetree.result.node.node}" x="59" y="33">
</mx:Tree>
</mx:Panel>
</mx:Application>
-Chris
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development Computer software development Software design and development Macromedia flex Software development best practice
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.
--
What goes up, does come down.
--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com
SPONSORED LINKS
Web site design development | Computer software development | Software design and development |
Macromedia flex | Software development best practice |
YAHOO! GROUPS LINKS
- Visit your group "flexcoders" on the web.
- To unsubscribe from this group, send an email to:
[EMAIL PROTECTED]
- Your use of Yahoo! Groups is subject to the Yahoo! Terms of Service.