                 IndexChangedEvent.CHILD_INDEX_CHANGE, childIndexChangeHandler);
 
             var numViews:int = targetStack.numChildren;
-            var child:Container;
+            var child:INavigatorContent;
 
             for (var i:int = 0; i < numViews; i++)
 	        {
-                child = Container(targetStack.getChildAt(i));
+                child = INavigatorContent(targetStack.getChildAt(i));
 
                 child.removeEventListener("labelChanged", labelChangedHandler);
                 child.removeEventListener("iconChanged", iconChangedHandler);

                if (targetStack)
                {
                    Button(getChildAt(i)).enabled = value &&
                            Container(targetStack.getChildAt(i)).enabled;
                }
                else
                {


        for (i = 0; i < numViews; i++)
        {
            child = INavigatorContent(targetStack.getChildAt(i));
            var item:Button = Button(createNavItem(itemToLabel(child), child.icon));

                 
