I have this code in a component.

 

<mx:Tree xmlns:mx="http://www.adobe.com/2006/mxml";
dataProvider="{listdir.lastResult.dirlist.node}">

<mx:HTTPService id="listdir" showBusyCursor="true" method="POST"
url="read_dir.php" useProxy="false">

            

</mx:HTTPService>      

</mx:Tree>

 

Read_dir.php return this:

 

<node label="base">

                    <node label="Inbox" data="70"/>

                    <node label="Personal Folder" data="10">

                        <node label="Business" data="2"/>

                        <node label="Demo" data="3"/>

                        <node label="Personal" data="0"/>

                        <node label="Saved Mail" data="5" />

                    </node>

                    <node label="Sent" data="15"/>

                    <node label="Trash" data="5"/>

 

</node>

 

This work, but only first label, and doesn't appear a folder icon, with
arrow option to open. Only appear base option with blank page icon.

 

Where is the problem?

 

Thk.

Giro.

Reply via email to