I am trying to search for a solution for my problem for the
last couple of days wothout any luck.Surpisingly I wasn't able to
find any thing related to "Dynamically Populating a tree in Flex
from XML using HttpService - Java ". Hope you can help! Appreciate
your time !
This is the format of the XML that I get when I communicate
to a Java Servlet,via HTTPService..
I wanted to dynamically populate the tree using this xml and
wanted to be able to do particular action when clicked on item, but
I wasn't suseccful. This is the code snippet that I wrote,Can you
please help me ?
first of all if you are binding that xml directly into a tree
control you don't need a result handler unless you need to do
something with the result itself. the direct way should be:
<mx:Tree width="100%" height="100%" id="tree1"
so you don't need anything else, forget about your result