Typing games

does anyone have the action script for inputing text and then the user can type the text and itl play a movie CLIP? Im realy confused.

Edit in caps.