             
             // if in mouse mode, lay out scrollbars normally
             // if in touch mode, we overlay the scrollbars, so let's inset it by a bit
-            if (scroller.getStyle("inputMode") == "mouse")
+            if (scroller.getStyle("interactionMode") == InteractionMode.MOUSE)
                 hsb.setLayoutBoundsPosition(0, h - hsbH);
             else
                 hsb.setLayoutBoundsPosition(0, h - hsbH - 3);

            // if in mouse mode, lay out scrollbars normally
            // if in touch mode, we overlay the scrollbars, so let's inset it by a bit
            // FIXME (rfrishbe): shouldn't hardcode the 3 here
            if (scroller.getStyle("inputMode") == "mouse")
                vsb.setLayoutBoundsPosition(w - vsbW, 0);
            else
                vsb.setLayoutBoundsPosition(w - vsbW - 3, 0);

import flash.geom.Point;

import mx.core.IUIComponent;
import mx.core.InteractionMode;
import mx.core.ScrollPolicy;
import mx.core.mx_internal;
import mx.utils.MatrixUtil;

import spark.components.Scroller;
