         var itemIndex:int =
             targetStack.getChildIndex(DisplayObject(event.target));
 
-        updateNavItemLabel(itemIndex, Container(event.target).label);
+        updateNavItemLabel(itemIndex, INavigatorContent(event.target).label);
     }
 
     /**

                IndexChangedEvent.CHILD_INDEX_CHANGE, childIndexChangeHandler);

            var numViews:int = targetStack.numChildren;
            var child:Container;

            for (var i:int = 0; i < numViews; i++)
	        {
                child = Container(targetStack.getChildAt(i));

                child.removeEventListener("labelChanged", labelChangedHandler);
                child.removeEventListener("iconChanged", iconChangedHandler);

import mx.containers.BoxDirection;
import mx.containers.ViewStack;
import mx.core.ClassFactory;
import mx.core.INavigatorContent;
import mx.core.FlexVersion;
import mx.core.IFactory;
import mx.core.IFlexDisplayObject;
