Quick Tip: How to Detect Mouse Direction Using ActionScript

In this Quick Tip you will learn how to get the mouse’s current direction in your Flash application using AS3. You could use this to create an interesting control method for a game, using a mouse like a joystick, for example. For now we will just display the direction on screen View Tutorial source (http://active.tutsplus.com)