# Stop html page from scrolling on arrow keys

**URL:** <https://forum.kirupa.com/t/stop-html-page-from-scrolling-on-arrow-keys/314590>\
**Category:** programming\
**Created:** [October 3, 2010, 5:18am UTC](https://forum.kirupa.com/t/stop-html-page-from-scrolling-on-arrow-keys/314590 "2010-10-03T05:18:26Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![sleepingmask](https://avatars.discourse-cdn.com/v4/letter/s/71c47a/32.png) [@sleepingmask](https://forum.kirupa.com/u/sleepingmask)\
**Post date:** [October 3, 2010, 5:18am UTC](https://forum.kirupa.com/t/stop-html-page-from-scrolling-on-arrow-keys/314590/1 "2010-10-03T05:18:26Z")

</div>

Hey! I’m new here, so I apologize if this is the wrong part to post this, but I have an issue:  
I’ve made a flash I Spy game, and I’m trying to embed it in Dreamweaver (which I’m quite awful at).  
I used the obvious Insert\>Media\>Swf  
That’s all fine, except when I open the page in IE, it’s impossible to play the game, because the arrow keys cause the page to scroll. Normally (on [addictinggames.com](http://addictinggames.com) ect) it goes that you click on the game to “activate” it, and then keyboard pressed are ignored by the browser and sent straight to the SWF.  
But I can not make it WORK! (frustration.):\*(  
Ideas?
