In ActionScript 3, I need to detect a sequence of movements made by the mouse when the button is down. I've read this question, and it seems a bit overkill. I only need to detect the 8 basic directions (up/down/left/right/diagonals), so that I can detect a "Z".
Are you aware of any free/open-source solutions? How would you do that otherwise? I've already implemented a few classification algorithms, but I'm looking for something really basic here.
Here is a tutorial on how to do exactly what you're looking for:
http://www.emanueleferonato.com/2010/07/05/detecting-mouse-gestures-in-flash-with-as3/
Hope that helps. :)