         
         if (savedStacks)
         {
+            var navigator:ViewNavigatorBase;
             var len:Number = Math.min(savedStacks.length, length);
-            for (var i:int = 0; i < len; ++i)
-                navigators[i].loadViewData(savedStacks[i]);
+            
+            for (var i:int = 0; i < len; i++)
+            {
+                navigator = getElementAt(i) as ViewNavigatorBase;                
+                navigator.loadViewData(savedStacks[i]);
+            }
         }
     }
     

     */
    public function removeAll():void
    {
        var item:IVisualElement;
        var len:int = length;
        
        // Deactive the active navigator and its view
        if (selectedNavigator)
            selectedNavigator.setActive(false);
        
        for (var i:int = 0; i < len; i++)
        {
            item = _navigators[i];
            cleanUpNavigator(ViewNavigatorBase(item));
            removeElement(item);
        }
        
        navigators.length = 0;
        selectedIndex = NO_PROPOSED_SELECTION;
        dataProviderChanged = true;
        
        invalidateProperties();
        
        internalDispatchEvent(CollectionEventKind.RESET);
    }
    
    /**

            throw new RangeError(message);
        }
        
        setupNavigator(ViewNavigatorBase(item));
        addElementAt(ViewNavigatorBase(item), index);

        if (selectedIndex == NO_PROPOSED_SELECTION || numElements == 1)
        {
            selectedIndex = 0;
        }
