I'm a bit new to flex and cannot get my head around this problem. can someone help. thanks in advance.

I have a string list path.  

path 1 - "one/two/three"  

 path 2 - "one/two/four"  

 path 3 - "five/six"

i need an advanced datagrid to show a tree structure like so  

one/  

...two/  

........three/  

............four  

five/  

.......six  

but i want to achieve this dynamicall with arrays, objects, or arraycollection (as applicable)  

I need to loop through each string path using string methods which isnt a problem but how do i create "DYNAMIC" (depth) children? please help as i'm about to pull my hair out.