I am learning how to use Flash using CS4, and focusing mainly on ActionScript3 (since I come from a coding background and not a designer background).
I want to respond to the user pressing keys on the keyboard.
I have used the official example source at the Flash reference site and followed the CS4 instructions for classes.
However, all it responds to is special keys like ctrl and shift, for these keys it works fine. For keys like a,b,c there is no response whatsoever. Am I doing something wrong? Is there some setting I need to change? Maybe I need to change something outside my ActionScript (like a project setting maybe).
Any help would be greatly appreciated.
A quite usual problem is that the Flash IDE shortcut keys won’t respond (as they are used by the IDE). Make sure you also test your movie in a browser or in the standalone player.