 {   
     public function Group():void
     {
+        super();
         tabChildren = true;
+        _layout = new BasicLayout();
+        ILayout(_layout).target = this;        
     }
     
     private var skinRegistry:Dictionary;

        throw(new Error("swapChildrenAt is not available in Group. Use swapItemsAt instead."));
    }
    
    protected function invalidateSizeAndLayout():void
    {
        invalidateSize();
        invalidateDisplayList();
        
        if (parent && parent is UIComponent)
        {
            UIComponent(parent).invalidateSize();
            UIComponent(parent).invalidateDisplayList();
        }
    }
    
    //----------------------------------
    //  horizontalScrollPosition

    public var itemRenderer:IFactory;   
    public var itemRendererFunction:Function; // signature: itemRendererFunction(item:*):IFactory
    public var alwaysUseItemRenderer:Boolean = false; // if true, always use the itemRenderer
    private var _content:*;
    private var _contentType:int;
    private var contentCollection:ICollectionView;
