     {
         var xMove:int = 0;
         var yMove:int = 0;
-        
+		
         if (scrollerLayout && scrollerLayout.canScrollHorizontally)
             xMove = dragX;
         

        // clamp the values here
        newHSP = Math.min(Math.max(newHSP, -viewportWidth), maxWidth+viewportWidth);
        newVSP = Math.min(Math.max(newVSP, -viewportHeight), maxHeight+viewportHeight);
            
        viewport.horizontalScrollPosition = newHSP;
        viewport.verticalScrollPosition = newVSP;
    }

import flash.events.Event;
import flash.events.KeyboardEvent;
import flash.events.MouseEvent;
import flash.events.TimerEvent;
import flash.geom.Point;
import flash.system.Capabilities;
import flash.text.TextField;
import flash.ui.Keyboard;
import flash.utils.Timer;

import mx.core.IInvalidating;
import mx.core.IVisualElement;
