 
         var vsb:ScrollBar = scroller.verticalScrollBar;
         var showVSB:Boolean = false;
-        switch(scroller.verticalScrollPolicy) 
+        switch(scroller.getStyle("verticalScrollPolicy")) 
         {
            case ScrollPolicy.ON: 
                 if (vsb) showVSB = true; 

        
        var hsb:ScrollBar = scroller.horizontalScrollBar;
        var showHSB:Boolean = false;
        switch(scroller.horizontalScrollPolicy) 
        {
            case ScrollPolicy.ON: 
                if (hsb) showHSB = true; 


        var showHSB:Boolean = false;
        var hAuto:Boolean = false; 
        switch(scroller.getStyle("horizontalScrollPolicy")) {
            case ScrollPolicy.ON: 
                if (hsb) showHSB = true; 
                break;
