 
 import mx.containers.utilityClasses.Flex;
 import mx.events.PropertyChangeEvent;
-import mx.components.Group;
 
 
 /**

        var oldValue:int = _rowCount;
        _rowCount = value;
        dispatchEvent(PropertyChangeEvent.createUpdateEvent(this, "rowCount", oldValue, value));
    }
    
    //----------------------------------

            }
            else
            {
                sizeLayoutItem(layoutItem, width, horizontalAlign, 
                               restrictedWidth, NaN, variableRowHeight, rh);
                
                spaceToDistribute -= layoutItem.actualSize.y;
            } 
        }
        
        if (totalCount > 1)
            spaceToDistribute -= (totalCount-1) * gap;

        // Distribute the extra space among the flexible children
        if (totalPercentHeight)
