1 Reply Latest reply on Oct 7, 2009 12:50 PM by rgadiparthi

    Tabnavigator doubt


      I have a tabnavigator with 2 children added and the selected index of tabnavigator is set according to some other properties.

      The 2 children of tabnavigator is having a init() method which is called upon the creationcomplete of the children.

      My doubt is, will both the init() methods invoked initially irrespective of the selectedIndex property?


      Isaw 2 different results.When I set the selected index property to the first child, only that child's init is invoked and second child's init is invoked only upon clicking the second tab.

      but when I set selectedIndex to second child both the inits are invoked initially.

      I want the init to be invoked only upon clicking the tab.can we control this behaviour?



      Flex Dv