Up Up Down Down Left Right Left Right B A

29/03/2008

While showering last night (this is usually when ideas and / or solutions present themselves) I came up with this idea.

Basically it’s a simple class that allows you to listen for specific sequences of keystrokes. So if the user was to press the sequence in the title, in the correct order naturally, you might react to it in any way you might deem funny. Code beneath the cut.

(BTW: I’m not all that familiar with the Text package in AS3 yet, so if there is some kind of method that does this for you please let me know.)

Read the rest of this article »

1 Comment