No I dont want it to refresh everytime.
Let me describe our common situation:
We Build a tour,
upload it,
email customer,
customer has feedback. I dont like this color, can you make the hotspots bigger, the text has a type etc
we edit the tour,
upload to the same folder,
email customer
Customer says, I dont see things altered.
Now my boss asked me to come up with a solution for this common problem.
So I want the tour refresh certain elements (or just plain everything). But not EVERYTIME, Not Every click, Not every panorama. I can imagine a user spending 6min in a tour, clicking a round, but you dont want to reload every reusable element of the interface, or reloading globalconfiguration.xml thats included in every panorama xml.
But on my end, I dont want to edit some variable to a higher number (version number) and cross reference that to see if stuff changed. Nor do I want to upload new content to a new folder or different way.
So my solution was in my Flash interface, a timestamp that changes every 5min by taking the date from 1 jan 1970 (new Date()) and divide that with 5 * 60 * 1000 (5min in ms). So it has a new variable every 5min. This works fine for the Interface bits, but a great deal is still handled in krpano, and now Im looking for a similar solution I did in my Flash interface.
The set(timestamp, ... ); loadpano etc could work if I could generate a number every 5min (like I do in flash). Is this possible, or should I look @ javascript solution. Or should I make a function callback to my interface and let flash generate that number and send it back to krpano (seems slow)