I searched this group and google but i did not find the answer i wanted.
Is there a way to know if an object is open in this case:
private function openItemHandler(evt:TreeEvent):void{
var selectedNode:Object = evt.item;
var child1:Object = selectedNode.children.getChildAt(0);
//How i can determine if child1 is open?
}
Currently my node are in fact custom Value Object (SectionVO.as)
So to fix my problem (for the moment) i added a class variable called
isOpen that i set in the openItemHandler() function like this :
selectedNode.isOpen = true;
Same case for closeItemHandler function.
Thanks for help.