This content has been marked as final.
Show 5 replies
-
1. Re: Flash Log In From with Shared Objects
kglad Jul 10, 2009 6:34 AM (in response to d0brin)that should work. what's the problem?
-
2. Re: Flash Log In From with Shared Objects
d0brin Jul 12, 2009 3:11 AM (in response to kglad)well i need the AS coding cuz i get to some point and then all goes bad...so if you can give me a sample.fla file to see the exact usage? Could you make one ?
-
3. Re: Flash Log In From with Shared Objects
kglad Jul 12, 2009 7:24 AM (in response to d0brin)if you use the obviously named textfields:
var so:SharedObject = SharedObject.getLocal("login","/");
if(so.data.username==undefined){
//need to register and assign:
so.data.username=usernameTF.text
so.data.password=passwordTF.text
}
loginBtn.onRelease=function(){
if(so.data.username==usernameTF.text && so.data.password==passwordTF.text){
//successful login
} else {
//login failure
}
}
-
4. Re: Flash Log In From with Shared Objects
d0brin Jul 14, 2009 6:17 AM (in response to kglad)thanks a lot you helped me a lot now I have successfully created my Log IN From for my flash game thanks
-
5. Re: Flash Log In From with Shared Objects
kglad Jul 14, 2009 6:40 AM (in response to d0brin)you're welcome.



