I am unsuccessfully trying to incorporate keyboard controls
to a map which the user can pan up, down, left and right. Currently
the user can pan using the mouse and some buttons I created. All
the action script is contained in one frame and references the
buttons by instance name (ie. the pan left button is called
I want to be able to use the keyboard arrows to do the same
thing. I am hoping I can just add some code to my existing code.
Below is the code I am using for the panning. Does anyone have any
ideas how I can easily add keyboard controls to the code below. I
just need some help with making it work for one direction and I
will adjust it for the others.