OMG i can't beleive that i did'nt find this one by myself...thank you very much eheh :)
--- In [email protected], "flexawesome" <[EMAIL PROTECTED]> wrote: > > isItemOpen? > > > http://livedocs.adobe.com/flex/201/langref/mx/controls/Tree.html#isItemOpen() > > > > --- In [email protected], "guillaumeracine" <guillaume.racine@> wrote: > > > > 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. > > >

