oops... I need to clarify something.... I can populate the tree with dynamic 
data.... but once populated, I cannot access the data or label attributes...
 

<mx:Application xmlns:mx="http://www.macromedia.com/2003/mxml"; 
load="myService.send();">

<mx:HTTPService id="myService" result="myTree.dataProvider = myService.result;" 
url="http://216.65.201.58/tester.cfm";></mx:HTTPService>

<mx:Tree width="100%" height="100%" id="myTree" 
cellPress="alert(myTree.selectedItem.attributes.label);"></mx:Tree>

</mx:Application>

-----Original Message-----
From: Clint Tredway [mailto:[EMAIL PROTECTED]
Sent: Tuesday, February 22, 2005 2:47 PM
To: [email protected]
Subject: [flexcoders] Tree issues


Has anyone successfully used a data service (HTTPService, Remoting, anything) 
to successfully populate a tree?
 
I can only get it to work if 1. embed the data in the mxml file OR 2. use an 
actuall XML file.... WITH the SAME data that is coming from my service...

Reply via email to