I am having a function returning an XML tree structure , I wish to display the whole tree in an TextArea in flex.Here is the code:\[code\] <mx:Button id="button1" label="Submit" width="100" click="mainTxt.text=myemp.input_data(args);" />\[/code\]input_data() returns XML tree .How do I send it to mainTxt TextArea ?I have tried using mainTxt.html as well.-BHU