Monday, March 21, 2011

Kinetic Scrolling!

Discovered a new method for kinetic scrolling!

stopY = theMc._y;
theMc.onEnterFrame = function(){
    this._y += (stopY-this._y)/10;
}
function onMouseUp(){
    stopY = _ymouse;
}

No comments:

Post a Comment