In Flash, you have the onMouseMove event that executes any code when your mouse is moving. In some cases, executing code simply based on mouse movement may not be enough. How would you like to learn how to determine the direction of mouse movement so that you can execute different pieces of code depending on which direction the mouse is moving?
This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/actionscript/detecting_mouse_direction.htm