 
 package spark.components.supportClasses
 {
-import flash.events.Event;
-import flash.geom.Point;
 import flash.geom.Rectangle;
 import flash.utils.Dictionary;
 import flash.utils.getTimer;

import spark.components.IGridItemRenderer;
import spark.components.IGridRowBackground;
import spark.layouts.supportClasses.LayoutBase;
import spark.primitives.supportClasses.GraphicElement;
import spark.skins.spark.DefaultGridItemRenderer;

use namespace mx_internal;

public class GridLayout extends LayoutBase
{
    include "../../core/Version.as";    

            freeGridElements(visibleRowBackgrounds.splice(firstVisibleOffset, removeCount));
            freeGridElements(visibleRowSeparators.splice(firstVisibleOffset, removeCount));
            
            const visibleColCount:int = visibleColumnIndices.length;
            const firstRendererOffset:int = firstVisibleOffset * visibleColCount;
            freeItemRenderers(visibleItemRenderers.splice(firstRendererOffset, removeCount * visibleColCount));
