A= 65
s= 83
w= 87
d= 68
use it like this
if(Key.isDown(66)){
this._x=+10
}
heres some code for you to get all the ascii codes:
draw a text box on stage, set it to input text and then in the first frame put this ation script:
var keyListener:Object = new Object();
keyListener.onKeyDown...