# Multiple user Help!

**URL:** <https://forum.kirupa.com/t/multiple-user-help/62360>\
**Category:** flash\
**Created:** [August 27, 2004, 4:16am UTC](https://forum.kirupa.com/t/multiple-user-help/62360 "2004-08-27T04:16:24Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![ozzy\_fan666](https://avatars.discourse-cdn.com/v4/letter/o/94ad74/32.png) [@ozzy\_fan666](https://forum.kirupa.com/u/ozzy_fan666)\
**Post date:** [August 27, 2004, 4:16am UTC](https://forum.kirupa.com/t/multiple-user-help/62360/1 "2004-08-27T04:16:24Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2004, 4:40am UTC](https://forum.kirupa.com/t/multiple-user-help/62360/2 "2004-08-27T04:40:33Z")

</div>

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.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [August 27, 2004, 4:26pm UTC](https://forum.kirupa.com/t/multiple-user-help/62360/3 "2004-08-27T16:26:46Z")

</div>

Or the easy way.

```auto

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
