champro
02-22-2008, 06:05 PM
I believe I know a work around to this problem, but if anyone knows of a simpler solution please let me know.
Basically I would like to find a way to link a discrete Global onDtart function for each of 3 panos in a combobox I have set up. The idea is that when each pano loads a quick auto presentation will move you through a 360 move and then pause. Working from Patrick's "simple auto-presentation" tutorial I was planning to create 3 different global functions and then have onStart call the correct function based on which pano is loaded. I thought maybe the "linked" parameter would work if I created 3 onStart functions, 2 of which would be null because their pano wasn't loaded, but that doesn't quite work. Next I figured I could pass a variable or even use the panoName variable in the onStart function to get it to call the correct auto tour function, but I'm not sure if thats possible.
It occurs to me now that I may be making a problem out of something simple, the easiest way for this to work is to have the autorotate plugin set to do one 360 of the pano and then to turn off, so if there is a way to do this , it would probably be the best.
Any help is appreciated,
Duncan
Basically I would like to find a way to link a discrete Global onDtart function for each of 3 panos in a combobox I have set up. The idea is that when each pano loads a quick auto presentation will move you through a 360 move and then pause. Working from Patrick's "simple auto-presentation" tutorial I was planning to create 3 different global functions and then have onStart call the correct function based on which pano is loaded. I thought maybe the "linked" parameter would work if I created 3 onStart functions, 2 of which would be null because their pano wasn't loaded, but that doesn't quite work. Next I figured I could pass a variable or even use the panoName variable in the onStart function to get it to call the correct auto tour function, but I'm not sure if thats possible.
It occurs to me now that I may be making a problem out of something simple, the easiest way for this to work is to have the autorotate plugin set to do one 360 of the pano and then to turn off, so if there is a way to do this , it would probably be the best.
Any help is appreciated,
Duncan