Hi, looking for a solution to make an action to run a hotspot autotour : build an index of all the hotspots and then zoom to the first hotspot, zoomout, zoom to the second hotspot... in a loop of course !
hotspot.count and callwith is basically all you need with a for loop and some delayed calls.
You can spruce it up with random numbers, sequentially filtering and other hotspots that need to be filtered. Sorry I can't give it away for free, I spent a good chunk of time on it. There's quite a few more details that make it non-annoying.
The trick is to order them on closest to furthest and timings (you dont want to move in 10 seconds to somethings thats close, or 1 second to something that is far away)
as for the time.. just add a xml attribute in the hotspot with "timeToWatch" in seconds and , after looking at a hotspot do a wait before looking at a new one something like for i= 0 to hotspots count ( copy hostpot[i] to currentspot lookat (correntspot ath atv etc) wait )