Groups | Blog | Home
all groups > flash (macromedia) > june 2004 >

flash (macromedia) : arrow keys in game moving whole page


omnicrondelicious
6/22/2004 11:47:23 PM
Howdy -

quick question. I've got a little Flash game that sits in a much larger page.
The game uses the Arrow keys but the up and down arrows end up scrolling the
whole page. How do I fix that? Is that something controlled by the html wrapped
around the object or is it a property of the game to retain focus and prevent
page scrolling?

thank 'ee,
omni
Jamie Connolly
6/26/2004 4:21:25 PM
i think you could use a listener.

i think the a/s is key.addListener(); or something

AddThis Social Bookmark Button