|
-
[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!?
Last edited by molster; 11-27-2006 at 02:39 AM.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|