Container Flex

    xmlns:mx="http://www.adobe.com/2006/mxml"
    layout="absolute">
    

    
        
            [Bindable]
            private var selectedIndexInt:int = 0;
            private function changeViewStack():void
            {
                if(selectedIndexInt == 2)
                {
                    selectedIndexInt = 0;
                }
                else
                {
                    selectedIndexInt++;
                }
            }