I have a sample swf with login and register forms.
The register works perfectly, but if I reload the swf and try to login with the same credentials I just registered with it gives me an error: "The user does not exist"
Yet checking in the quickConnect SimpleUser admin area shows that I have one user, with the exact name that I'm entering (simply-"Test")
I'm not sure, maybe I'm doing something wrong or I need to set something in the admin panel, but I can't get this working!
It could very well be a problem with my AS3,
- Code: Select all
PlayerIO.quickConnect.simpleConnect(stage, "gameid", loginScreen.USERNAME.text, loginScreen.PASSWORD.text, LoginComplete, LoginFail)
Gives me the aforementioned error, but hardcoding in the username and password like so...
- Code: Select all
PlayerIO.quickConnect.simpleConnect(stage, "gameid", "Test", "password", LoginComplete, LoginFail)
Does not give any errors, and everything logs in great!
Upon further inspection.
- Code: Select all
trace(loginScreen.USERNAME.text == "Test")
traces false, and I'm 100% sure the only thing I'm tying in the input field is "Test"
Does anyone know why this isn't working?