Avatar

Level 10

here is a sample code to bind/add childs to the tree component:

for each(var childObj:Object in web_service_name.operation_name.lastResult.child_name)

{

     var childNode:Object = new Object();

     childNode['label'] = childObj['label_attribute_name'];

     childNode['data'] = childObj['data_attribute_name'];

     IList(trprjtask.dataProvider).addItem(childNode);

}

Please replace the web_service_name, operation_name etc with actual values...

If unsuccess, send your wsdl and mxml. i will try to help you.

Nith