This is a tutorial on how to make a object move using the arrow keys.
Code:
onClipEvent(enterFrame){
if(Key.isDown(Key.UP)){
_y-= 10;
}
if(Key.isDown(Key.LEFT)){
_x+= 10;
}
if(Key.isDown(Key.RIGHT)){
_x-= 10;
}
if(Key.isDown(Key.DOWN)){
_y+= 10;
}
Or download the txt of it here
http://www.filefront.com/16928943/flash-move-script.txt/
Thank you Very Much! I like it how you explain the X and Y thingy. Like other people they dont explain why you have to put that code down and most people just tell you to copy and past the code under the description. Good for beginers (Such as myself).
and by the way nice wallpaper :P
kev132in 11 months ago 3