 
             if (i == selectedIndex)
             {
-                content = UIComponent(getChildAt(i));
+                content = Container(getChildAt(i));
                 content.cacheAsBitmap = false;
                 content.scrollRect = null;
                 content.visible = true;

import mx.core.EdgeMetrics;
import mx.core.FlexVersion;
import mx.core.IDataRenderer;
import mx.core.IDeferredContentOwner;
import mx.core.IFactory;
import mx.core.IInvalidating;
import mx.core.INavigatorContent;
import mx.core.IUIComponent;
import mx.core.ScrollPolicy;
import mx.core.UIComponent;

import mx.events.IndexChangedEvent;
import mx.geom.RoundedRectangle;
import mx.managers.HistoryManager;
import mx.styles.StyleManager;
import mx.styles.CSSStyleDeclaration;
import mx.styles.StyleProxy;

use namespace mx_internal;

