You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, December 4th 2011, 9:23pm

Load scene querystring based

My question may be stupid, but....
I have a virtual tour with 10 scene; now the Virtual Tour start with the scene 0, because i use this simple code unload

loadscene(get(scene[0].name), null, MERGE);

My question is: how to start the Virtual Tour with a different scene, loading dynamically the value of the scene?
My idea is use a GET parameter in the html page

For example: =====> START with the scene 1 =====> START with the scene 3

but how to get the value of query string into the xml?

Or my approach is bad? Thank you