oops i forgot to change the last petName to hpbar... oh well you get the idea. I understand it says local... that mean it finds it on the persons pc's cache or w/e? or would it be on the internet? like my server's file?
ok so for the hp bar i would have to do this
var so:SharedObject = SharedObject.getLocal("petStatus");
if (so.data.hpbar == undefined) {
so.data.hpbar = "HPB";
so.flush();
} else {
trace(so.data.petName);
}
???
and then the same for the happy bar? if so then how does this...
ok i want to save like hit point and happiness points to a file on my server. to where they login and they start from where they were at.
What im doing is making an online feedable pet. but i need it to where the click the pet to login *no pass* and then feed the pet, play with the pet, click...
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.