Link to home
Start Free TrialLog in
Avatar of Jonathan Greenberg
Jonathan GreenbergFlag for United States of America

asked on

Username/password input goes to new URL

After inputting the correct username & password, the following ActionScript sends the user to frame 2 ("Code Snippet" line 7).  How can I modify it such that instead, upon user input of the correct username and password, the browser goes to a specific new URL in a new window?
stop();
var user_input = ""
var pass_input = ""
login_button.onRelease = function() {
	if (user_input == "username"
		&& pass_input == "password") {
		gotoAndStop(2);
	}
	else{
		gotoAndStop(3);
	}
}

Open in new window

ASKER CERTIFIED SOLUTION
Avatar of Tom Ray
Tom Ray
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of Jonathan Greenberg

ASKER

Excellent, thank you!