View Full Version : Setting up pano automation??
Cameleer
04-21-2008, 05:50 PM
I’m trying to setup a little zoom, pan and tilt automation in a pano, when it’s over I would like for it to stop without the autorotation kicking in. but when I try adding “external.autorotator.disabled=1” to onstart code the pano won’t open.
<hotspots>
<global onstart="timer+=1,2000,,next01"
next01="timer+=1,4000;change:0,zoom,0.4,3000;change:0,tilt ,-90,3000,,next02"
next02="timer+=1,1000;change:0,pan,180,2000,,next03"
next03="timer+=1,1000;change:0,zoom,1.2,4000;change:0,tilt ,-10,6000"
onOver="scale=1.1,600,elastic;depth+=20" onOut="scale=1,300;depth-=20"
Here’s the Pano:
http://www.indiavrtours.com/fatehpur_sikri/agra_gate4.html
I would also like to add something where after the automation is over I can have an image popup for a few seconds saying “Welcome to Fatehpur Sikri”
Any ideas on how this could be done?
Thanks in advance,
Roger Berry
cheathamlane
04-21-2008, 06:32 PM
Hey Roger:
Check the thread under this one... :)
http://flashpanoramas.com/forum/showthread.php?t=1280
Cameleer
04-21-2008, 10:48 PM
Thanks Patrick,
I got the autorotator problem taken care of by increasing the pause to 5000.
<autorotator>
speed = 0.12
interval = 10
pause = 5000
quality = low
</autorotator>
I’m still trying to do this simple thing of having a small info image appear when the pano opens, and then fade out after about 10 seconds. Something like below only that will work, unlike this one.
<spot id="info4" url="images/info4.png" pan="10" tilt="10" onLoad="alpha=1; timer+=1,10000,,alpha=0,3000" />
Thanks,
Roger Berry
cheathamlane
04-22-2008, 01:17 AM
Hey Roger:
Have you tried using "onTransitionEnd" instead of "onStart"?
Cameleer
04-22-2008, 02:41 AM
After playing around with the code and checking out other posts here I came up with this which looks like it will do what I want. By having it go to scale=0 it shouldn’t interfere with the other hotspots that it would have been covering over had it just faded it out.
<spot id="info4" url="images/info4.png" pan="10" tilt="10" onLoad="scale=1; timer+=1,9000,,off;" off="scale=.0,900;" />
Cameleer
04-22-2008, 06:27 PM
I got my timers set up for this Fatehpur Sikri tour entry page and could use some feedback.
http://www.indiavrtours.com/fatehpur_sikri/agra_gate4.html
Below are the 2 type of ways I’m making it work.
<global onstart ="timer+=1,4000,,next01"
next01="timer+=1,4000;change:0,zoom,0.4,3000;change:0,tilt ,-90,3000,,next02"
next02="timer+=1,1000;change:0,pan,180,2000,,next03"
next03="timer+=1,1000;change:0,zoom,1.2,5000;change:0,tilt ,-10,6000"
<spot id="info6" url="images/hs_info6.png" pan="5" tilt="-3" onLoad="scale=0.7; timer+=1,3000,,off;" off="scale=.0,900;" />
<spot id="info4" url="images/fatbepur.png" pan="170" tilt="0" onLoad="scale=1; timer+=1,15000,,off;" off="scale=.0,900;" />
<spot id="info5" url="images/hs_info1.png" pan="184" tilt="10" onLoad="scale=.0; timer+=1,15000,,on;" on="scale=.6,900; timer+=1,3000,,off;" off="scale=.0,900;" />
Thanks,
Roger Berry
vBulletin® v3.7.1, Copyright ©2000-2012, Jelsoft Enterprises Ltd.