http://active.tutsplus.com/tutorials/actionscript/detecting-key-combos-the-easy-way/

Have you ever been amazed at the variety of attacks in fighting games like Mortal Kombat, Super Smash Bros, Soul Calibur and others? Now you can learn how to create an engine to detect key combinations and build your own fighting game as well!