HI folks,
A query.. I have the following piece of action scripting i want to change.
onClipEvent (enterFrame) {
if (Key.isDown(Key.s)) {
this._x -= speed;
}
if (Key.isDown(Key.Down)) {
this._x += speed;
}
}
At present the left and right arrow move an object left or right.
I want to allocate a pair of buttons ie "s" for left "d" for right instead of the arrow buttons. I tried a few things but no joy.
Please help
Thanks
Dave