on (release, keyPress "a") { _root.ship2._x = _root.ship2._x - speed; } on (release, keyPress "s") { _root.ship2._x = _root.ship2._x + speed; } on (release, keyPress "z") { _root.ship2._y = _root.ship2._y - speed; } on (release, keyPress "x") { _root.ship2._y = _root.ship2._y + speed; }