Hi folks,

i'm making a flash appliction for CD-rom. the interface includes an input text box.

I need the users to type a message in the box and then press send.

so ive build the input text box (var: password) and a button.

here's my script

on (release, keyPress "<Enter>") {
if (password eq "bus") {
gotoAndStop ("bus")

but my problem is... i want the user to be able to type "the man gets on the bus" or "the bus crashes" and so on.

Is there a way to search a sentence for keywords or somthing.

please help it would be nice

thanks