[Kinda...RESOLVED] [Kinda] SharedObject..can it refresh faster?
Ok i have a site im working on, and everything works fine, in fact, this script kinda works fine, if you refresh the page that the site is on, when it gets back to that frame, it knows you have checked your e-mail, but the fact is, i dont want you to have to refresh, heres my code
on the main site i have this
Code:
onClipEvent(enterFrame) {
var info:SharedObject = SharedObject.getLocal("mainsite", "/");
if (info.data.email == undefined) {
gotoAndStop(1);
} else {
gotoAndStop(2);
}
}
it then has a button that loads another page in a window with the e-mail inpute and flash file on it with this script
Code:
onClipEvent(enterFrame) {
var info:SharedObject = SharedObject.getLocal("mainsite", "/");
info.data.email = 1;
info.flush();
}
now the fact is, if i refresh the main page, it knows that e-mail = 1, but why cant it refresh the SharedObject without Refreshing the page!?