Key Movement

I am looking for the AS for moving an abject with WASD. I had it working with Key.Left, Key.Right, Key.Up, and Key.Down but I want to change them to WASD. If anyone knows how to or can point me to a tutorial, please do. thanks in advance.


if (Key.isDown(Key.LEFT)) {
  this._x+=moveSpeed;
 } else if (Key.isDown(Key.RIGHT)) {
  this._x-=moveSpeed;
 }
if (Key.isDown(Key.DOWN)) {
  this._y+=moveSpeed;
 } else if (Key.isDown(Key.UP)) {
  this._y-=moveSpeed;
 } 
}