-
We have designed a game in Flash4 but there seems to be a problem when the game is played with a F5 player. The game uses the arrow keys and the spacebar. The left and right arrow keys work fine but the top arrow (which is how you go up the escalator) does not seem to work w/ F5 player (works fine with F4 player).
Has anyone else hand any similar problems? or know of a solution?
http://www.infinitemedia.com/cherry
-
The only thing a can imagine is: That some where in the code that’s related to the up key there is an error(s)!
I would recommend stigmatically testing it to find your bug.
Good luck.
PS. Cool game!
-
Humm yea it does not work I dont know why. And one more thing happend if hold the left or righ key down plus the spc bar down the hero sits in the air. You might want to fix that as well.
mad_sci
-
flash 5 bug
I just brought the game into the flash5 authoring environment and I the up arrow does not work at all, but when I play it within the flash4 environment everything works fine. has to be a problem with the new version of flash
-
It’s more likely that it’s your code that’s not working. I assume you know how to use the trace action to debug your movies. Stat out by checking to see if the key capture is working. Fix it if not, then test the next effected bit of code, if it is not working fix, then test and move to the next.
I know debugging code is a pane, but flash is only doing what you tell it to. So if some things not working its because your not telling flash how to properly execute your requests.
You need to be careful not to jump to conclusions, or you might never fix the problems… well good luck.
If you isolate your problem to a snippet of code and post it here I will help you to debug as will every one else.
-
more details
to further the information on this thread. i built the game.
the problem is not in the flash5 player.
to describe more fully, the game works on the pc using flash5 player. it does not work in a browser enabled with the flash5 plugin. it does, however, work with the flash4 plugin in a browser. this is a pc only bug (it works fine on a mac both flash4 and 5 plugin). it was built in flash4. i've gone over the scripting pretty intensively and cannot see why it would not work. when i say intensively, i mean line by effin line.
i hope this clarifies the issue.
hugh "gettin' pretty tired of his headache" elliott
-
Very interesting? Unfortunately the ether keys working would suggests that the player is working fine.
I have built Flash4 games that use the same keyboard inputs, and they work in 4&5 just fine. So I would still think it could be fixed but considering what you have mentioned. I would recommend using a text field in the same manner as “trace” and test to see if the key capture is working?
Also if your using some kind of snifter, you should check it to find out if it is messing any thing up?
I looked at your html and I did not see any java script, but you could have used a grate many tricks to hide it. If you are using java script make absolutely clear it’s cross browser!
I would have to see your files to really know what’s going on? But I don’t have time to do that so you’re going to have to do the detective work. I am confident you can find it! Good luck!
-
i am so tired
okay, that said, i sorted out the problem. for some inane reason, flash5 plugin pc wouldn't read one frikkin variable. i was checking the y position of the background and giving it a variable name. this was one of the first things i had built and hadn't a problem at all with it, so i just went on. had i looked at it on pc from the begininng i would have made the connection. in short, the button works fine, the script works fine. it was one stupid variable that wasn't being read. i modified it and *BOOM* it works! nothing like fixing something sometimes.
thanks Flashcat and mad-sci. i appreciate the input. usually when i have a bug i pull my damn hair out and toil in isolation. it was good to hear a fresh perspective.
hugh "the headache's the same, the instigator has changed" elliott
-
Yea I now what are you talking about been there.... he he but nothing better when you sort the problem. Exampl ok dont laugh to much. I was doing mine game and as you sad one variable does not come up so I put txt field to evaluate it. and it does not show up. I did all kind of stuff to get arroun and it did not work at all. I fugre later that day the text collor of my txt field was white....BUMMER. he h e eh ehe. I bang my head for hours.
Mad_sci
-
Good job Hugh Elliott!
I know you could do it! :)
Remember; test often, save backup versions, rewrite often! And you can do no wrong!