Photo of Words

updateAfterEvent animation is smoother at LOWER frame rate.

By: Jeremy Knight

Just discovered this little tidbit. If you are using code such as this:

this.onMouseMove = function() {
finger_cursor._x = this._xmouse;
finger_cursor._y = this._ymouse;
updateAfterEvent();
};


Where the cursor is being replaced by a movieclip, or you are dragging a movieclip around, the animation is dramatically smoother the LOWER the frame rate. Yes, it is smoothest at 1 FPS and slower at 30fps. Because updateAfterEvent() is called independent of the frame rate, a higher frame rate just means the processor is taxed more and as such slows all animation down. That\'s my explanation anyway. Try it out and see for yourself.