1 Reply Latest reply on Feb 18, 2009 2:17 AM by badoumba

    Tree and auto collapse

    badoumba
      Hi

      I had an old Actionscript code that works with a Tree component.
      The idea is that when you open an Branch, it collapses before the already opened ones, so you have only branch at the same time.

      I try to reproduce it with a flex component but if I use expandItem(), the Tree opens suddenly without the slow motion provided when you close to the arrow.

      The functions used in Flash were getIsOpen() and setIsOpen()

      Is there a similar way to do that in Flex ?

      Thanks for your help