         for (var i:int = 0; i < n; i++)
         {
             var header:Button = getHeaderAt(i);
-            var content:Container = Container(getChildAt(i));
+            var content:UIComponent = UIComponent(getChildAt(i));
 
             header.$y = y;
             y += header.height;


        // Performance optimization: don't call createComponents if we know
        // that createComponents has already been called.
        if (child && child.numChildrenCreated == -1)
            child.createComponentsFromDescriptors();

        // Do the initial measurement/layout pass for the newly-instantiated
        // descendants.

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

use namespace mx_internal;

