Multiple Password Help

Hello I need to know how to make it where you can set up multiple passwords.

I read a thread that contianed this

on (release) {
if (_root.textbox.text == Password1) {
//Load Movie 1
}
if (_root.textbox.text == Password2) {
//Load Movie 2
}
}

and I understand that, but what do I put it on? a input box?

I’m all confused help! lol thanks a lot