Quick sign in page question

if (password==“guest”){

That’s my sign-in page AS but how can I set it up so that it lets you go through no matter what you put in BUT gives you an alert when or sends you to a certain page when you dont? I know director has pop up boxes that can be created through lingo is this possible in flash? If not that’s fine. Thanks!