# Client Login Cunundrum

**URL:** <https://forum.kirupa.com/t/client-login-cunundrum/154914>\
**Category:** flash\
**Created:** [July 13, 2005, 3:28pm UTC](https://forum.kirupa.com/t/client-login-cunundrum/154914 "2005-07-13T15:28:07Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Lewwy](https://avatars.discourse-cdn.com/v4/letter/l/85f322/32.png) [@Lewwy](https://forum.kirupa.com/u/Lewwy)\
**Post date:** [July 13, 2005, 3:28pm UTC](https://forum.kirupa.com/t/client-login-cunundrum/154914/1 "2005-07-13T15:28:07Z")

</div>

Im making a portfolio site, and I decided to take up some room, and because its a good eye deer, to make a Client Login, and depending on the combination of Username and Password, that would depend on which frame they were taken to in the time line…

I have two input boxes and a button. Input boxes are given instances (and variables) of “un” and “pw” respectivley.

The button uses this code :

```auto
on(release) {
if (un == "Lewwy" && pw == "Lewis") {
gotoAndStop("2");
} else {
trace("1");
}
}

```

It does the trace ok, I tried replacing the gotoAndStop(“2”); with trace(“2”) and it worked fine…

Anyone have a clue?
