Welcome to AS[org] !
You can use the keyboard to input commands. If you open the helpfile in Flash, you can find info on the Key class in the actionscript dictionary, along with methods, examples and such. You can also search the forums. There have been many posts about keys and a lot have full examples, explanations and such. When you get stuck, you can just ask around here.