     {
         if (hsbVisible && includeHSB)
         {
-            var hsb:ScrollBar = getScroller().horizontalScrollBar;            
+            var hsb:ScrollBarBase = getScroller().horizontalScrollBar;            
             w -= hsb.getMinBoundsWidth();
             h -= hsb.getPreferredBoundsHeight();
         }
-        var vsb:ScrollBar = getScroller().verticalScrollBar;  
+        var vsb:ScrollBarBase = getScroller().verticalScrollBar;  
         return (w >= vsb.getPreferredBoundsWidth()) && (h >= vsb.getMinBoundsHeight());
     }
 

     */
    private function get vsbVisible():Boolean
    {
        var vsb:ScrollBar = getScroller().verticalScrollBar;
        return vsb && vsb.visible;
    }
    

                    break;
            } 

        const vsb:ScrollBarBase = scroller.verticalScrollBar;
        var showVSB:Boolean = false;
        var vAuto:Boolean = false;
        if (measuredSizeIncludesScrollBars)
