                 continue;
                 
             // Set the layout element's position
-            var y:Number = (contentHeight - layoutElement.getLayoutHeight()) * vAlign;
-            layoutElement.setLayoutPosition(x, y);
+            var y:Number = (contentHeight - layoutElement.getLayoutBoundsHeight()) * vAlign;
+            layoutElement.setLayoutBoundsPosition(x, y);
             
             // Update maxX,Y, first,lastVisibleIndex, and x
-            var dx:Number = layoutElement.getLayoutWidth();
-            var dy:Number = layoutElement.getLayoutHeight();
+            var dx:Number = layoutElement.getLayoutBoundsWidth();
+            var dy:Number = layoutElement.getLayoutBoundsHeight();
             maxX = Math.max(maxX, x + dx);
             maxY = Math.max(maxY, y + dy);            
             if (!clipContent || 

            if (index1 != -1)
            {
                var element1:ILayoutElement = g.getLayoutElementAt(index1); 
                var element1X:Number = element1.getLayoutPositionX();
                var element1Width:Number = element1.getLayoutWidth();                 
                if ((element1X < x1) && ((element1X + element1Width) > x0))
                    i1 = index1;
            }

        // index is first (c0) or last (c1) visible column
        var x0:Number = g.horizontalScrollPosition;
        var x1:Number = x0 + g.width;
        var ix0:Number = le.getLayoutBoundsX();
        var ix1:Number = ix0 + le.getLayoutBoundsWidth();
        if (ix0 >= ix1)  // element has 0 or negative width
            return 1.0;
        if ((ix0 >= x0) && (ix1 <= x1))
