- Mark as New
- Follow
- Mute
- Subscribe to RSS Feed
- Permalink
- Email to a Friend
- Report
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
Views
Replies
0 Likes
Total Likes