PDA

View Full Version : Enter Problem


Nibiru2012
03-08-2009, 02:30 PM
I am making games in flash
but i discovered that when i press enter it goes to the next frame
this could mean cheting in the game
how can i remove this?
is there coding i can add to remove it?

kkbbcute
03-08-2009, 02:32 PM
There is no reason that it should, unless you placed a function somewhere and a listener that checked to see if you pressed enter, and directed it to play the next frame, maybe its a Flash bug.

cjx3711
03-08-2009, 02:42 PM
Yes, i also experience that problem, unfortunately, i have no idea how to solve it. I have a workaround though, for example:

frame 3 is your game frame
Frame 4 has the script: gotoAndPlay(3)

Then in the instructions, put, press enter to restart level.

kkbbcute
03-09-2009, 09:22 AM
Yes, i also experience that problem, unfortunately, i have no idea how to solve it. I have a workaround though, for example:

frame 3 is your game frame
Frame 4 has the script: gotoAndPlay(3)

Then in the instructions, put, press enter to restart level.

Maybe someone could inform Adobe about it so they can fix it in a patch?

cjx3711
03-10-2009, 01:41 AM
What do you expect them to do, fix it just because you say so?

kkbbcute
03-10-2009, 08:10 AM
What do you expect them to do, fix it just because you say so?

That is what the support team is for, duh, obviously they will fix it, since it is affecting quite a lot of people who use Flash.

gauldylocks
03-25-2009, 10:53 PM
Doesn't it just happen as you're previewing it with Ctrl + Enter?
I think it should work if you open the .swf in Flash Player.

scorpx
03-25-2009, 11:31 PM
I have same problem whan I try to test using Ctrl + Enter but there is no problem when runing swf file.

bluemagica
03-26-2009, 07:04 AM
The problem is because you are testing the swf in the flashIDE, hit Ctrl+Enter then in the test window, go to Control --> Disable Keyboard Shortcuts! This will prevent this kind of problems from happening!

kkbbcute
03-26-2009, 10:38 AM
Also note that letter keys won't work too, I tried testing things like WSAD, and they didn't work, turns out only the arrow keys and a few others work in the Flash IDE. ;)

rrh
03-26-2009, 03:31 PM
The "Disable Keyboard Shortcuts" has tripped me up before.

kkbbcute
03-28-2009, 12:50 PM
Me too, I think its a pretty common problem to be honest.