# How do you create text box that excepts MULTIPLE passwords?

**URL:** <https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043>\
**Category:** Uncategorized\
**Created:** [September 13, 2001, 11:57pm UTC](https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043 "2001-09-13T23:57:47Z")\
**Posts on this page:** 4\
**Page:** 1

<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:** [September 13, 2001, 11:57pm UTC](https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043/1 "2001-09-13T23:57:47Z")

</div>

hi i’m trying to create an entry box that excepts multple passwords. i know how to do it for a single password, but I think I need an array to do multiple. \rI need to be able to do this in FLASH 4\r\rHow is it done?\rThanks ahead of time!\r\rhere’s my current script:\r------------------------\rpassword = inputName;\rif (password eq “oasis” ) {\r&nbsp &nbsp &nbsp &nbsp gotoAndPlay (90);\r} else {\r&nbsp &nbsp &nbsp &nbsp gotoAndPlay (113);\r}

---

<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:** [September 15, 2001, 4:41am UTC](https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043/2 "2001-09-15T04:41:51Z")

</div>

```auto
  \r\rpassword = inputName;\r\rif (password eq "oasis" or password eq "oasis1" or password eq "oasis3" ) \r\r{\r\rgotoAndPlay (90);\r\r}\r\r\r\relse\r\r{\r\rgotoAndPlay (113);\r\r}\r\r

```

---

<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:** [September 15, 2001, 6:29pm UTC](https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043/3 "2001-09-15T18:29:38Z")

</div>

thanks!

---

<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:** [March 20, 2002, 8:49am UTC](https://forum.kirupa.com/t/how-do-you-create-text-box-that-excepts-multiple-passwords/3043/4 "2002-03-20T08:49:38Z")

</div>

how do i make a password box so that plp can type thje password in and i bring them to a certain fram if not to other… thanks
