摘要: //全部展开private function ExpandAll():void{ // treeMenu.dataProvider是id为treeMenu所绑定的数据源是个xmllist for each(var item:XML in treeMenu.dataProvider) treeMenu.expandChildrenOf(item,true);}//全部收起private function CollapseAll():void {for each(var item:XML in treeMenu.dataProvider)treeMenu.expandChildrenOf(item 阅读全文
posted @ 2011-05-15 14:05 Java EE 阅读(218) 评论(0) 推荐(0) 编辑