2 Replies Latest reply on Aug 18, 2009 11:33 PM by alex-86

    viewstack problem

    alex-86 Level 1

      hi, i have a viewStack inside another viewStack.

       

      the problem is that when i click a button and put this:

       

      viewstack1.selectedIndex = 3;

      viewstack2.selectedIndex = 2;

       

      it just takes me to the index 3 of the first viewstack, but it doesnt take me

       

      to the second index in the second one.

       

       

      note: this only happens when I first enter the application.

       

      after I click a button that takes me to another index in the main viewStack,

       

      and then I come back to the one that has the button that does this:

       

      viewstack1.selectedIndex = 3;

      viewstack2.selectedIndex = 2;

       

      it works.

       

      Any Ideas?