Kirupa.com - Moving an Object Using X and Y Values

If you are going to be creating games in Flash, you will need to learn how to allow the user to move an object around on the screen. While we could use drag and drop, but where's the fun in that?? You will learn in this tutorial how to move an object across the screen by using the arrow keys in your keyboard.


This is a companion discussion topic for the original entry at http://www.kirupa.com/developer/actionscript/xymove.htm