hi all

this is my java code: 

public String xmlTree() throws ClassNotFoundException, SQLException, 
IOException{ 
TreeInfo tixt = new TreeInfo(); 
String s = tixt.createTree(); 
System.out.println(s); 
return s; 
} 

it return s = 


<node label=\"INBOX\"/><node label=\"Personal Folder\"><node 
label=\"Business\" /><node label=\"Demo\" /><node label=\"Personal\" 
isBranch=\"true\" /><node label=\"Saved Mail\" /></node> 


in AS 

function tree():Void{ 
var xml_tree:String; 
var mytree:XML; 
xml_tree = ZJ.xmlTree(); 
mytree = new XML(xml_tree); 
Ntree.dataProvider = mytree; 
mx.controls.Alert.show (xml_tree,'Message'); 
} 

the Alert window give me the message like this: 

[object Object] 

it not a String that i want, i do not know why ? everyone know about 
this give a help please! thanks! 






--
Flexcoders Mailing List
FAQ: http://groups.yahoo.com/group/flexcoders/files/flexcodersFAQ.txt
Search Archives: http://www.mail-archive.com/flexcoders%40yahoogroups.com 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/flexcoders/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 


Reply via email to