-
Some keycodes dont work
I want to use the keycode for WASD, but only W and D work. i tested RDFG aswel, but only D and G works there.
keycodes i used for wasd:
PHP Code:
W:uint = 87, A:uint = 65, S:uint = 83, D:uint = 68
whats wrong?
-
You need to give us more info. Do you mean simultaneously? Have you tried in browser rather than in test mode? I know I've been able to capture "A" before, I did it in the demo for the SpecificKeys utility I made:
http://cosmodro.me/blog/2008/sep/2/specific-keys/
-
Sorry for the bad explanation, I should have given more info.
I don't mean simoultaniously, i just mean when i press it normally.
I just checked, and you're right, it does work in the browser, but not in the test mode. both the conventional method and your class (wich is pretty handy btw), work in the browser, but not in the test mode.
Does it have to do with my setting sin CS3?
-
I'm not sure of the exact settings, but yeah it's the test movie player capturing keyboard input before the swf it's testing gets to see it. There should be a way to turn it off.
-
While playing the swf inside Flash it's Control > Disable Keyboard Shortcutes.
Although I just tested a swf with wasd controls and they're all working fine with the shortcuts enabled...
-
Ah thanks. its ok now.
I don't use the english version so maybe my key shortcuts are different.
anyway, thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|