If...Else problem

If…Else problem
I need help with this code:

[color=purple]password = inputName

if (password == “Flash”) {
inputStatus = “Access granted!” ;
} else {
inputStatus = “Access denied!” ;
}[/color]

I would like to have it go to another frame and in the timeline only if the password is correct.


Any suggestions?