Monster Racer Rush
Select between 5 monster racers, upgrade your monster skill and win the competition!
4.18 / 5.00 3,534 ViewsBuild and Base
Build most powerful forces, unleash hordes of monster and control your soldiers!
3.80 / 5.00 4,200 ViewsHi all, I have a simple question. So I made a KeyboardEvent listener but for some reason it won't recognize when I press some keys, particularly q,a,s, and z. I tried tracing their keycodes but whenever I press those keys it won't show me anything. It works fine on other keys though, what could I be doing wrong here? any help would be appreciated.
Double check your keycodes first, I use this site's app when I'm setting up keyboard commands. If that doesn't work, post the code that isn't working, and you'll get a more detailed answer.
You probably need to disable keyboard shortcuts.
#include <stdio.h>
char*p="#include <stdio.h>%cchar*p=%c%s%c;%cmain() {printf(p,10,34,p,34,10);}";
main() {printf(p,10,34,p,34,10);}
At 3/19/11 12:29 PM, Redshift wrote: You probably need to disable keyboard shortcuts.
How do I do this? I found out this only happens when I run the .swf file from ctrl+enter, but when I run it from an external projector it works perfectly well.
Control >> Disable keyboard shortcuts
#include <stdio.h>
char*p="#include <stdio.h>%cchar*p=%c%s%c;%cmain() {printf(p,10,34,p,34,10);}";
main() {printf(p,10,34,p,34,10);}
I couldn't find any option of that sort, the closest thing I have is a "disable simple buttons". Though I found out from another thread that running through ctrl+shift+enter kind of solves the problem.
At 3/19/11 10:23 PM, taongkahoy wrote: I couldn't find any option of that sort, the closest thing I have is a "disable simple buttons". Though I found out from another thread that running through ctrl+shift+enter kind of solves the problem.
Where are you looking? I think the option is in the flash player not the ide.