                 diff = Math.max(diff, h * (100 - percentHeight));
             if (diff > 0)
             {
-                y = diff * mx_internal::layoutObject.getVerticalAlignValue();
+                y = diff * layoutObject.getVerticalAlignValue();
                 h -= diff;
             }
             

            preferredWidth += child.preferred;
        }

        var wPadding:Number =
            mx_internal::layoutObject.widthPadding(numChildren);
        var hPadding:Number = mx_internal::layoutObject.heightPadding(0);
        var rowInfo:GridRowInfo = rowHeights[rowIndex];

        measuredMinWidth = minWidth + wPadding;

        }

        // Set each child's x-coordinate.
        left = vm.left + spaceToDistribute * layoutObject.getHorizontalAlignValue();
        for (i = 0; i < numChildren; i++)
        {
            columnInfo = columnWidths[i];
