Hi there
I'm making an AS3 plugin which requires creating a lot of hotspots dynamically (1000+), from information returned by a server. I've tried two solutions, but none of them works 100%.
First, I tried repeatedly calling a krpano action from the AS3 plugin. This made krpano go really slow for some time and even crash because of a timeout. I also tried enabling "freezeview" while doing this, but it didn't seem to do much.
My second try was to create an array from AS3 and then calling a krpano action which iterated over the array and created the hotspots. I created the array using the information on this thread, and the iteration was done using the "loop" action from 1.0.8.14. Unfortunately, I couldn't iterate over the entire array due to the "actions overflow".
The last solution I can think of is to generate some krpano XML using the information I get from the server, and then use "loadxml()" to create the hotspots. However, this means that I won't be able to change the hotspots dynamically, since "loadxml" always expects a new panorama to be loaded.
So, before trying this last solution, I'd like to know if there some "faster" way to make KRPano create a lot of hotspots, or if this is really the best way to go.
Thanks,
Manuel