Hiya,

I'm trying to use the tree component in conjunction with a php page I have that produces xml. But I am literally struggling so much its ridiculous*.

My php page is printing out this:

Code:
<?xml version='1.0' encoding='utf-8'?>
<folders> 
<dir name='Food'> 
<dir name='Meat'> 
	<dir name='Steak'/> 
</dir> 
<dir name='Vegetables'> 
	<dir name='Potato'/> 
	<dir name='Sweed'/> 
</dir> 
</dir> 
<dir name='Electrics'> 
	<dir name='Hifi'/> 
	<dir name='ipod'/> 
</dir> 
</folders>
Could anyone just copy and paste some mxml in their response to create a tree structure from that? I know that must seem so lazy, but I've been at this for weeks, and I've had loads of [object][object] things, loads of blank trees, loads of swf's that never load!!! I'd literally help you out in any way I could - I'm sure you are all pros compared to me so this is worthless, but I have a nice bit of php which will create the nested xml structure above from a table full of folders stored side by side.

Any help in any form always appreciated!

Thanks, Dave

*I think this is because the debug version of flash player I'm using is constantly wrong despite the fact I keep updating it, so trying to look at what the HTTPService returns is pretty much impossible/guesswork!