Hi all,
I'm starting to work with trees using an Httpservice to connect to the
bank and return me this XML:
<Root>
<node label='Bla1'>
<node label='Bla2'>
<node label='Bla3'>
<node label="Bla4"/>
</node>
</node>
</node>
</Root>
I set the property resultformat as XML and its returning Ok the XML.
the problem is when i use it as a dataprovider. the tree doesen't
shows the right thing, it shows de XMLcode inteasted of the
name(Bla1,BLa2,BLa3 and bla4)
My Mxml is like this:
<mx:HTTPService id="dadosTree" url="criatree.asp" method="POST"
showBusyCursor="true" result="CriaTree();" resultFormat="xml"/>
<mx:Tree left="0" top="0" bottom="0" right="0" id="TreeArtes"
dataProvider="{dadosTree.lastResult}"/>
Please help me a i dont know wath i'm doing wrong