I am going through a book tutorial on creating games in Flash/Animate, and the game is using keyboard key presses (arrow keys, spacebar) to control game elements. When I test the game, and also when I publish the game in .swf and windows exe format. The keys do nothing. This used to work years ago when I went through these examples previously, but now they aren't. I've looked through some troubleshooting sources, and I see a lot of references to something like "when testing the game, go to "Control/Disable Keyboard Shortcuts" because apparently, the testing environment is using keyboard shortcuts and has priority. However, in the current versions (2021, 2022) of Animate, I don't see anywhere where I can tell it to disable keyboard shortcuts for the test environment. Is there anyone that knows what to do about this now in the current software?
P.S., I'm not using Flash Builder, or any other ActionScript coding apps. It's all done in Animate.
You need to ask program questions in the forum for the program you are using To ask in the forum for your program please start at https://community.adobe.com/ Moving from Using the Community (which is about the forums) to the correct forum... Mod
Update. I did a test, and further discovered that the key presses, do in fact work, but you have to mouseclick on the item first to give it the focus. Then the keystrokes will work. Even though the coding mentions the specific instance name or the Symbol.