PDA

View Full Version : flushing a shared object on browser quit?


scott_allen13
11-18-2004, 01:56 PM
i am making a navbar with a built in scoreboard which isn't in a frame, so it reloads on every page... my only problem is keeping the shared object up to date without having the user push a save button before they quit... I could loop frames at the end of the timeline and flush the SO every other frame (or every 5 seconds or whatever), but that seems like a lot of unneccessary disk accesses.

Is that still a reasonable solution or is there a way to use javascript to flush the SO on browser quit?

scott_allen13
11-22-2004, 04:23 PM
i have managed to get this working by putting a loop in the timeline that flushes the SO every other frame, but i'm still curious if anyone thinks that could be a problem for slower machines.