     //--------------------------------------------------------------------------
     
 	/**
-	 *  An index is "in view" if the corresponding non-null layout item is 
+	 *  An index is "in view" if the corresponding non-null layout element is 
 	 *  within the vertical limits of the layout target's scrollRect
 	 *  and included in the layout.
 	 *  

        var spaceToDistribute:Number = height;
        var totalPercentHeight:Number = 0;
        var childInfoArray:Array = [];
        var childInfo:LayoutItemFlexChildInfo;
        var newWidth:Number;
        var layoutItem:ILayoutItem;
        
        // rowHeight can be expensive to compute
        var rh:Number = (variableRowHeight) ? 0 : rowHeight;
        var count:uint = target.numLayoutItems;
        var totalCount:uint = count; // number of items to use in gap calculation
        
        // If the child is flexible, store information about it in the
        // childInfoArray. For non-flexible children, just set the child's
        // width and height immediately.
        for (var index:int = 0; index < count; index++)
        {
            layoutItem = target.getLayoutItemAt(index);
            if (!layoutItem || !layoutItem.includeInLayout)
            {
                totalCount--;
                continue;
            }
            
            if (hasPercentHeight(layoutItem) && variableRowHeight)
            {
                totalPercentHeight += layoutItem.percentHeight;

                childInfo = new LayoutItemFlexChildInfo();
                childInfo.layoutItem = layoutItem;
                childInfo.percent    = layoutItem.percentHeight;
                childInfo.min        = layoutItem.minSize.y;
                childInfo.max        = layoutItem.maxSize.y;
                
                childInfoArray.push(childInfo);                
            }
            else
            {
                sizeLayoutItem(layoutItem, width, horizontalAlign, 
                               restrictedWidth, NaN, variableRowHeight, rh);
                
                spaceToDistribute -= layoutItem.actualSize.y;
            } 
        }
        

   
    private function fixedRowHeightMeasure(layoutTarget:GroupBase):void
    {
    	var rows:uint = layoutTarget.numLayoutElements;
        var visibleRows:uint = (requestedRowCount == -1) ? rows : requestedRowCount;
        
        var rh:Number = rowHeight; // can be expensive to compute
