but my project is 1000x1200
What are the attributes that I need to edit so that I can move around the project when I press arrow keys?
So far I have,
addEventListener(KeyboardEvent.KEY_DOWN, keyPressed); function keyPressed(event:KeyboardEvent):void{ if (event.keyCode == Keyboard.UP){ // What goes here? } if (event.keyCode == Keyboard.DOWN){ } if (event.keyCode == Keyboard.LEFT){ } if (event.keyCode == Keyboard.RIGHT){ } }