         
         for (var index:int = 0; index < count; index++)
         {
-            var lo:ILayoutItem = layoutTarget.getLayoutItemAt(index);
+            layoutItem = layoutTarget.getLayoutItemAt(index);
             if (!layoutItem || !layoutItem.includeInLayout)
                 continue;
 
         	// Set the layout item's acutual size and position
-            var x:Number = (unscaledWidth - lo.actualSize.x) * hAlign;
-            lo.setActualPosition(x, y);
-            var dx:Number = lo.actualSize.x;
+            var x:Number = (unscaledWidth - layoutItem.actualSize.x) * hAlign;
+            layoutItem.setActualPosition(x, y);
+            var dx:Number = layoutItem.actualSize.x;
             if (!variableRowHeight)
-                lo.setActualSize(dx, rowHeight);
+                layoutItem.setActualSize(dx, rowHeight);
                 
             // Update maxX,Y, first,lastVisibleIndex, and y
-            var dy:Number = lo.actualSize.y;
+            var dy:Number = layoutItem.actualSize.y;
             maxX = Math.max(maxX, x + dx);
             maxY = Math.max(maxY, y + dy);
             if ((y < maxVisibleY) && ((y + dy) > minVisibleY))

    }
    
    
    public function measure():void
    {
    	var layoutTarget:GroupBase = target;
        if (!layoutTarget)

    //
    //--------------------------------------------------------------------------

    private static function calculatePercentWidth( layoutItem:ILayoutItem, width:Number ):Number
    {
    	var percentWidth:Number = LayoutItemHelper.pinBetween( layoutItem.percentSize.x * width,
