Multiple user Help!

I need to know how to create a login page for a website, allowing the user with a correct name and password to view a movieclip with saved inforation. I just need help with the login page as I can do everything else.

create textfields and button in flash.

onclick of login button store the vars in html form using fscommand.
and fire the submit event of the form.

like document.form1.submit()

point the form to a php / asp page for validation.

Or the easy way.


on (release, keyPress "<Enter>") {
	if (user == "username" && pass == "password") {
		gotoAndStop("secret");
	} else {
		status = "Wrong username or password...";
	}
}

Just make 2 input text fields with var user and pass and a dyn. text field with var status and put the code on enter button