I'm having a problem that when I try to play flash games, and I press one key (left arrow as example), and then release it, but my character will keep going to the left. For some reason, this occurs only in some flash games, like Madness:Project Nexus (the first one).
When I started to make a project in AS3 on my programming class, it was going ok in the computers from there, but when I tested the same file here, I experienced this problem aswell, but when I made an AS2 game test, the problem didn't happen.
There's more, my keyboard is working well, but when I tried to play Project Nexus with Joy2Key (using gamepad) and then with Virtual Keyboard, the problem didn't happen aswell.
I tried to find over the internet something to help me but no success.
If you know what's going on, plz help me.
Oh, btw this is the little project I made with AS3.
http://www.newgrounds.com/dump/item/37685237d07fbf49a5922bc52684bf7e
PS: You have to click play and then click on the game window to be able to move the ship (thanks to Kkots for finding a way to fix that, however I didn't change the file still)
PPS: the booklet was incomplete so you're invincible :P
Also my birthday is in 3 weeks (January 3), yay! :D
SukiiK
I can't remember the exact code and if you have already tried this I'm not sure what's wrong but have you put a keyboard event for when the key is released? I've had that issue too where I press the key and my character will take off into oblivion. Maybe try google as well for key events in flash as3.
I hope this helps and sorry if it doesn't!
1999Elias
No you didn't understand xD
This problem is only happening with my keyboard, when I use gamepads with Joy2Key or Virtual Keyboard everything works fine, you can test the link of the dump, it will work normally with you.