NEW! Tweet buttons! If you like an article, you can tell your friends on Twitter with just two clicks and no typing!
Hey, all! I'd like to share with you a keyboard input utility I recently made. I wrote it for myself, but I have decided to share it here, in the event that you might find it as easy, useful and convenient as I do. When you write code for keyboard input, there is certain functionality that you are going to always want. There are a few things that come to mind in this regard: First, you need to know whether a key is being held down or not. Secondly, you need to know if a key has just been pressed. Thirdly, you need to know if a key has just been released.
Yes! You can definitely MAKE THIS YOURSELF! Step by step instructions included!
Fair Warning: This swf file plays sounds!!!
This tutorial is going to be a very simple (and quick) one. Using a very simple example, it will show you techniques for combining event listeners, and using arrays and loops to process your objects (MovieClips).
This is a question that I see come up again and again on forums. Someone will be asking for help, and someone else will reply with some helpful code. Then the first person will many times come back with: "Thanks! But, I'm a total beginner! So just where do I put that code?"