i have a problem with a game in flash , this game using up and down arrows, for some reason, when i click the game , the web page scrolls too, how can i fix it ? , i use this cheat in javascript but didn't work:
document.onkeydown = function(e) {
var k = (window.ev开发者_JAVA技巧ent) ? event.keyCode : e.keyCode;
if(k >= 37 && k <= 40) {
return false;
}
}
Also ,this game is loading trought another flash that embeds an iframe loading the flash game.
Thanks.
Sebastian.
try changing the wmode attribute to a solid colour (i.e. the same colour as your page background).
精彩评论