Hi,

I can't provide my tree with my php result.

<?xml version="1.0" encoding="utf-8"?><node label="lot num BBBB">   
<node label="Professional" icon="iconSymbol1" /></node>

this is my mxml
<?xml version="1.0" encoding="utf-8"?>
<mx:Application xmlns:mx="http://www.adobe.com/2006/mxml";
layout="absolute">
           <mx:HTTPService id="lotRequest"
url="http://localhost/flex/php/GetDir.php"; useProxy="false" method="POST">
      <mx:request xmlns="">
         <dir>{lotcurrent.text}</dir>
      </mx:request>
   </mx:HTTPService>

   <mx:Panel>
       <mx:Form x="22" y="10" width="493">
                        <mx:Button label="Submit" click="lotRequest.send()"/>
           </mx:Form>
       <mx:Label text="Label" width="214" id="lotcurrent"/>
           <mx:Tree id="myTree" width="630" height="137" labelField="@label"
            showRoot="false" dataProvider="{lotRequest.lastResult}" y="10"/>
           <mx:TextArea height="100%" width="50%"
            text="Selected Item: {lotRequest.lastResult}"/>
   </mx:Panel>
</mx:Application>

Please
What wrong?
Thanks.


Reply via email to