         // Don't drag-scroll in the vertical direction
         dragScrollRegionSizeVertical = 0;
     }
-    
-    //--------------------------------------------------------------------------
-    //
-    //  Variables
-    //
-    //--------------------------------------------------------------------------
-    
-    // used to communicate between the loop and the event handlers
-    private var dontCacheMeasurements:Boolean;
-    private var notFinalTargets:Array;
-    
-    // indexes that have reported that a size should not be cached
-    private var notFinalIndexes:Array;
-    // components that have reported that they are not final
-    private var notFinalComponents:Dictionary;
-    
     
     //--------------------------------------------------------------------------
     //

     */
    private var llv:LinearLayoutVector;
    
    /**
     *  @private
     *  total percentages of children.  used to calculate estimatedWidth
     */
    private var totalPercentWidth:Number;
    
    /**
     *  @private
     *  actual space that is flexible.  used to calculate estimatedWidth
     */
    private var flexibleWidth:Number;
    
    /**
     *  @private
     */
    private var lastEstimatedHeight:Number;
    
    /**
     *  @private
     */
    private var inUpdateDisplayListVirtual:Boolean;
    
    //--------------------------------------------------------------------------
    //
    //  Class methods

        var typicalElt:ILayoutElement = typicalLayoutElement;
        if (typicalElt)
        {
            var typicalWidth:Number = typicalElt.getPreferredBoundsWidth();
            var typicalHeight:Number = typicalElt.getPreferredBoundsHeight();
            llv.defaultMinorSize = typicalHeight;
