# Flash Tree Component With XML

**URL:** <https://forum.kirupa.com/t/flash-tree-component-with-xml/308242>\
**Category:** flash\
**Created:** [April 20, 2010, 2:16am UTC](https://forum.kirupa.com/t/flash-tree-component-with-xml/308242 "2010-04-20T02:16:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![jajabinx35](https://avatars.discourse-cdn.com/v4/letter/j/f9ae1b/32.png) [@jajabinx35](https://forum.kirupa.com/u/jajabinx35)\
**Post date:** [April 20, 2010, 2:16am UTC](https://forum.kirupa.com/t/flash-tree-component-with-xml/308242/1 "2010-04-20T02:16:24Z")

</div>

Hi!

Im am looking for the XML source code online to make life easier for me to learn XML. Unfortunately, I haven’t recieved such luck yet, so I’m going to chance it here.

I have created a tree diagram using the ‘Tree Component’ in flash, and have linked it to my XML file:

\<?xml version=“1.0” encoding=“iso-8859-1”?\>  
\<node label = “Sports Club”\>  
\<node label = “Ball Games”\>  
\<node label = “Tennis” /\>  
\<node label = “Soccer”/\>  
\<node label = “Bassball”/\>  
\</node\>  
\<node label = “Athletic Games”\>  
\<node label = “100 Meters”/\>  
\<node label = “100M Hurdles”/\>  
\</node\>

\</node\>  
\</node\>

If you haven’t noticed yet, this is what the tree diagram looks like this :

![](http://forum.kirupa.com/uploads/kirupa/6197/7cef9b465db7f8dd.png)

Now I’ve managed to go this far, BUT, what i’m trying to do is that when the user chooses ‘Tennis’ from the tree diagram, I need to get text into my blank text-box.

So lemme make this clear:

The user clicks on ‘Tennis’:

![](http://forum.kirupa.com/uploads/kirupa/6198/87ea8c97755f75c3.png)

I would need my textbox to display any form of information (see image):

![](http://forum.kirupa.com/uploads/kirupa/6199/6ef76c9f4012907c.png)

To be frank, the textbox will have some tennis-related data in them.

So then, I live on hope…Could ANYONE help me on this? I would be very greatful. Like they say, “once you learn it, teach others”.

Thanks in advance.
