i tired posting this in flash section but no on is responding, so maybe you guys could help
this is really pissing me off. here's a simple walking script:
onClipEvent (load) {
moveSpeed = 19;
}
onClipEvent (enterFrame) {
if (Key.isDown (Key.RIGHT)) {
this._x += moveSpeed;
} else if (Key.isDown (Key.UP)) {
this._y -= moveSpeed;
} else if (Key.isDown (Key.DOWN)) {
this._y += moveSpeed;
} else if (Key.isDown (Key.LEFT)) {
this._x -= moveSpeed;
}
}
ok now i want to make it so one person uses arrow keys and the other uses like: w,a,s,d but how do i do that? the scripting wont let me make a character who uses letters.
( and ive changing the instance name for each of them so thats not it )