How do I re-direct?

Hey all, I have a password box and stuff and it works well with the If/Else scripting and stuff but I have a problem. I don’t know how to re-direct it to the page I want it to after someone enters in the correct password. They enter it in, it says “Password Granted” and then it just has the button and the text. How do I re-direct?:*( :frowning:

http://www.kirupa.com/developer/flash5/ifelse.asp

Like that?

Except instead of going to a new frame you could use a getURL and have it send someone to a page.

Wouldn’t that make the password not work? How do I do a getURL? I’m a Flash MX n00b. I can only make intros w/ pictures fading in and out and adding video and music.

Using the original code given there you will modify it like this…

if (password == "kirupa") {
        getURL("correctPage.html","_self") ;
} else {
        getURL("wrongPage.html","_self")  ;
}

Something like that… I didn’t test it.