         var maxDelta:Number = contentWidth - scrollR.width - scrollR.x;
         var minDelta:Number = -scrollR.x; 
             
-        switch (unit)
+        switch (scrollUnit)
         {
             case ScrollUnit.UP:
                 return (scrollR.x <= 0) ? 0 : -1;

    /**
     *  @copy mx.layout.LayoutBase#getHorizontalScrollPositionDelta
     */
    public function getHorizontalScrollPositionDelta(unit:ScrollUnit):Number
    {
        // TBD: replace provisional implementation
        var scrollR:Rectangle = scrollRect;

    //--------------------------------------------------------------------------

    //----------------------------------
    //  clipAndEnableScrolling
    //----------------------------------
        
    /**
     *  @private
     */
    private var _clipAndEnableScrolling:Boolean = true;
    
    /**
     *  @copy mx.layout.LayoutBase#clipAndEnableScrolling
     */
    public function get clipAndEnableScrolling():Boolean 
    {
        return _clipAndEnableScrolling;
    }
    
    /**
     *  @private
     */
    public function set clipAndEnableScrolling(value:Boolean):void 
    {
        if (value == _clipAndEnableScrolling) 
            return;
    
        _clipAndEnableScrolling = value;
        // TBD implement this
    }
        
