# Login problems

**URL:** <https://forum.kirupa.com/t/login-problems/196361>\
**Category:** Uncategorized\
**Created:** [August 7, 2006, 10:13pm UTC](https://forum.kirupa.com/t/login-problems/196361 "2006-08-07T22:13:06Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![spud99](https://avatars.discourse-cdn.com/v4/letter/s/90db22/32.png) [@spud99](https://forum.kirupa.com/u/spud99)\
**Post date:** [August 7, 2006, 10:13pm UTC](https://forum.kirupa.com/t/login-problems/196361/1 "2006-08-07T22:13:06Z")

</div>

heya i have seen other threads like this but i would rather solve this problem instead of creating a new problem, i have created a login for my website but the actionscript dosnt seem to read the usernames or passwords so when you click login it always goes to the invalid password page any help would be much apreciated.

this is the script:

on (release) {  
if (user == ‘name’ && pass == ‘password’) {  
gotoAndStop(“valid”);  
} else {  
gotoAndStop(“invalid”);  
}  
}
