I need to code a simple piece of script in Adobe Flash which detects user input in a text field (single line), compares it with words in a list (14 words in total), and if there is a match it will reveal a single letter associated with that word. It's a kind of word game.
You can see the user interface in this file (Flash CS5): https://dl.dropbox.com/u/1399546/sample-word.fla
Some sample words:
SUN = letter Y
MOON = letter N
SCHOOL = letter T