AS2/User Error Troubleshooting

My troubles began when my contact form broke down (in the PHP forum), but now it just seems as if actionscript that once previously worked for me, just isn’t working anymore!

I recently made an actionscript password checker, using the tutorial here on Kirupa. When I do it myself from scratch following each step exactly, it won’t work… but of course if I download the source fla from kirupa, it works. So I’m obviously doing something wrong, but I’m pulling my hair out as to figure out WHAT I’m doing wrong…

For the password checker, no matter what I do in my if/else statements, it ALWAYS goes to the else command and executes. The following code is how I modified the tutorial to get a URL when the password home is entered. I enter home as my password, but instead of getting the URL, it executes the else statement. I have verified that the input text field has the variable inputpass assigned, and i’ve even tried just making the variable password, but that still doesn’t work.

password = inputpass

if (password == "home") {
        getURL("http://www.tayloryoelin.com/");
} else {
        goToAndStop(11);
}

I am totally frustrated and can’t figure out why it won’t stop before the else statement. ANY help would be much appreciated.