                 
             const hsp:String = getStyle("horizontalScrollPolicy");
             if (styleName == "horizontalScrollPolicy")
-                scroller.setStyle("horizontalScrollPolicy", vsp);
+                scroller.setStyle("horizontalScrollPolicy", hsp);
             else if (allStyles && hsp && (hsp !== ScrollPolicy.AUTO))
-                scroller.setStyle("horizontalScrollPolicy", vsp);
+                scroller.setStyle("horizontalScrollPolicy", hsp);
         }
     }
     

        
        if (instance == scroller)
        {
            const vsp:String = getStyle("verticalScrollPolicy");
            if (vsp && (vsp !== ScrollPolicy.AUTO))
                scroller.setStyle("verticalScrollPolicy", vsp);

        
        if (scroller)
        {
            // The scrollPolicy styles are initialized in framework/defaults.css
            // so there's no way to determine if been explicitly set here.  To avoid 
            // preempting explicitly set scroller scrollPolicy styles with the default
            // "auto" value, we only forward the style if it's not "auto".
            
            const vsp:String = getStyle("verticalScrollPolicy");
            if (styleName == "verticalScrollPolicy")
                scroller.setStyle("verticalScrollPolicy", vsp);
