Tree展开某一层的方法:
private function ExpandAll():void
{
//展开整个Tree
/* for each (var item:XML in this.xml.children())
myTree.expandChildrenOf(item, true); */
//展开某一层
if (!myTree.isItemOpen(XML(this.xml.folder)))
{
this.myTree.expandItem(XML(this.xml.folder), true, true);
}
this.myTree.expandItem(XML(this.xml..folder.(@mydata == "tal")), true, true);
}