             return;
 
         var nSteps:uint = Math.abs(event.delta);
-        var unit:ScrollUnit;
+        var scrollUnit:uint;
 
         // Scroll event.delta "steps".  If the VSB is up, scroll vertically,
         // if -only- the HSB is up then scroll horizontally.
          
         if (verticalScrollBar && verticalScrollBar.visible)
         {
-            unit = (event.delta < 0) ? ScrollUnit.DOWN : ScrollUnit.UP;
+            scrollUnit = (event.delta < 0) ? ScrollUnit.DOWN : ScrollUnit.UP;
             for(var vStep:int = 0; vStep < nSteps; vStep++)
             {
-                var vspDelta:Number = vp.getVerticalScrollPositionDelta(unit);
+                var vspDelta:Number = vp.getVerticalScrollPositionDelta(scrollUnit);
                 if (!isNaN(vspDelta))
                     vp.verticalScrollPosition += vspDelta;
             }

     *  The viewport is added to the FXScroller component's skin 
     *  which lays out both the viewport and scrollbars.
     * 
     *  When the viewport property is set, the viewport's clipContent property is 
     *  set to true to enable scrolling.
     * 
     *  Scroller does not support rotating the viewport directly.  The viewport's

    {
        if (skin && viewport)
        {
            viewport.clipAndEnableScrolling = true;
            skin.addElementAt(viewport, 0);
            viewport.addEventListener(PropertyChangeEvent.PROPERTY_CHANGE, viewport_propertyChangeHandler);
        }
        if (verticalScrollBar)
            verticalScrollBar.viewport = viewport;
