# Recursive File Tree

**URL:** <https://forum.kirupa.com/t/recursive-file-tree/168500>\
**Category:** flash\
**Created:** [November 7, 2005, 7:09pm UTC](https://forum.kirupa.com/t/recursive-file-tree/168500 "2005-11-07T19:09:23Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jpao17](https://avatars.discourse-cdn.com/v4/letter/j/a183cd/32.png) [@Jpao17](https://forum.kirupa.com/u/Jpao17)\
**Post date:** [November 7, 2005, 7:09pm UTC](https://forum.kirupa.com/t/recursive-file-tree/168500/1 "2005-11-07T19:09:23Z")

</div>

I’ve been working at this for a couple days now and still have not found a way to create a recursive file tree.  
What i need is to dynamically build a movie clip using external XML variables  
\<a name=“hi”\>  
\<b name=“hib”\>  
\<c name=“hic” /\>  
\<d name=“hid” /\>  
\</b\>  
\</a\>  
\<aa name=“hiaa”\>  
\<bb name=“hibb” /\>  
\</aa\>

And i need to display that information in a recursive file tree such as this

Folder Hi  
—Folder Hib  
------Hic  
------Hid  
Folder Hiaa  
—Hibb

I would like it to be able to open as many folders inside folders as put into the XML, any ideas on how do this would be Greatly appreciated

Chris
