Using varaibles to control a movie clip

I need to come up with a script that will utilize the variable from an input text box to play a specific frame in a movie clip. Not sure quite whwere to start.
Nom de Guerre