Fun Flash Typing Keyboard Game

hi guys, I want to create a keyboard typing game but have no idea where to start.

A moving “word” moves horizontally from right to left

The user have to type out the word (using keyboard) to remove that object

Anyone could help me out? Links to “typing” tutorial for this particular game?

I used the search function and it came out mostly “types” on variables, event handlers" but not a “typing game”.