jriley
05-16-2007, 04:45 PM
I have not had any luck in getting the borders.swf plugin to work. I have placed the borders.swf file in the same directory as everything else and put the additional lines into the xml file, but no limits are placed on pan/tilt. Below is my xml code. (the hotspot links are just dummy placeholders right now) Any recommendations on getting it working?
The movie can be viewed at: http://4pi-vr.com/fpp/dinner_8000/dinner_8000.html
<?xml version = '1.0'?>
<panorama>
<parameters>
segments=20
qualityStatic=best
qualityMotion=low
segments=25
behaviour=2
sensitivity=50
keySensitivity=10
friction=0.9
threshold=0.0000001
tiltHome=0
zoomHome=1
layer_1 = fps.swf
layer_2 = hotspots.swf
loaderText=%3Ctextformat%20tabstops%3D%27300%27%3E %3Cfont%20face%3D%27Arial%27%20size%3D%2740%27%20c olor%3D%27%23%240%27%3E%0DProgress%3A%20%247%0D%3C %2Ffont%3E%3C%2Ftextformat%3E
</parameters>
<borders>
tilt_max = 60
</borders>
<hotspots>
<global>
<spot id="1" url="clickme.png" pan="-6.77" tilt="-9.84" scaleable="1" smoothing="1" onClick="openUrl(http://apple.com/,_self)" />
<spot id="2" url="clickme1.png" pan="-11.39" tilt="-11.15" scaleable="1" smoothing="1" onClick="openUrl(http://cnn.com/,_self)" />
<spot id="3" url="clickme1.png" pan="-17.95" tilt="-12.8" scaleable="1" smoothing="1" onClick="openUrl(http://salon.com,_self)" />
<spot id="4" url="clickme2.png" pan="-26.13" tilt="-14.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="5" url="clickme3.png" pan="-37" tilt="-16" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="6" url="clickme3.png" pan="-50.1" tilt="-17.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="7" url="clickme3.png" pan="-66.2" tilt="-18.6" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="8" url="clickme3.png" pan="-81" tilt="-18.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="9" url="clickme3.png" pan="-94" tilt="-16.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="10" url="clickme2.png" pan="-104" tilt="-14.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="11" url="clickme1.png" pan="-112.5" tilt="-13.1" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="12" url="clickme1.png" pan="-118.9" tilt="-11.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="13" url="clickme.png" pan="-123.6" tilt="-10.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="14" url="clickme.png" pan="-127.7" tilt="-10.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="15" url="clickme1.png" pan="-132.5" tilt="-11.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="16" url="clickme1.png" pan="-139" tilt="-13" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="17" url="clickme2.png" pan="-147" tilt="-14.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="18" url="clickme3.png" pan="-157" tilt="-15.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="19" url="clickme3.png" pan="-170.4" tilt="-17" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="20" url="clickme3.png" pan="175" tilt="-17.6" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="21" url="clickme3.png" pan="160.5" tilt="-16.9" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="22" url="clickme3.png" pan="148" tilt="-15.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="23" url="clickme2.png" pan="137" tilt="-13.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="24" url="clickme1.png" pan="129" tilt="-11.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="25" url="clickme1.png" pan="122.8" tilt="-10.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="26" url="clickme.png" pan="117.5" tilt="-9.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="27" url="clickme.png" pan="113.5" tilt="-8.87" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="28" url="clickme1.png" pan="109" tilt="-10.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="29" url="clickme1.png" pan="103" tilt="-11.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="30" url="clickme2.png" pan="94.7" tilt="-13.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="31" url="clickme3.png" pan="84.4" tilt="-14.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="32" url="clickme3.png" pan="71.3" tilt="-16.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="33" url="clickme3.png" pan="56.4" tilt="-17.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="34" url="clickme3.png" pan="41.5" tilt="-17.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="35" url="clickme3.png" pan="28.3" tilt="-16" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="36" url="clickme2.png" pan="17.4" tilt="-14.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="37" url="clickme1.png" pan="9" tilt="-12.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="38" url="clickme1.png" pan="2.3" tilt="-11.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="39" url="clickme.png" pan="-2.43" tilt="-10.1" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
</global>
</hotspots>
</panorama>
The movie can be viewed at: http://4pi-vr.com/fpp/dinner_8000/dinner_8000.html
<?xml version = '1.0'?>
<panorama>
<parameters>
segments=20
qualityStatic=best
qualityMotion=low
segments=25
behaviour=2
sensitivity=50
keySensitivity=10
friction=0.9
threshold=0.0000001
tiltHome=0
zoomHome=1
layer_1 = fps.swf
layer_2 = hotspots.swf
loaderText=%3Ctextformat%20tabstops%3D%27300%27%3E %3Cfont%20face%3D%27Arial%27%20size%3D%2740%27%20c olor%3D%27%23%240%27%3E%0DProgress%3A%20%247%0D%3C %2Ffont%3E%3C%2Ftextformat%3E
</parameters>
<borders>
tilt_max = 60
</borders>
<hotspots>
<global>
<spot id="1" url="clickme.png" pan="-6.77" tilt="-9.84" scaleable="1" smoothing="1" onClick="openUrl(http://apple.com/,_self)" />
<spot id="2" url="clickme1.png" pan="-11.39" tilt="-11.15" scaleable="1" smoothing="1" onClick="openUrl(http://cnn.com/,_self)" />
<spot id="3" url="clickme1.png" pan="-17.95" tilt="-12.8" scaleable="1" smoothing="1" onClick="openUrl(http://salon.com,_self)" />
<spot id="4" url="clickme2.png" pan="-26.13" tilt="-14.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="5" url="clickme3.png" pan="-37" tilt="-16" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="6" url="clickme3.png" pan="-50.1" tilt="-17.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="7" url="clickme3.png" pan="-66.2" tilt="-18.6" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="8" url="clickme3.png" pan="-81" tilt="-18.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="9" url="clickme3.png" pan="-94" tilt="-16.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="10" url="clickme2.png" pan="-104" tilt="-14.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="11" url="clickme1.png" pan="-112.5" tilt="-13.1" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="12" url="clickme1.png" pan="-118.9" tilt="-11.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="13" url="clickme.png" pan="-123.6" tilt="-10.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="14" url="clickme.png" pan="-127.7" tilt="-10.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="15" url="clickme1.png" pan="-132.5" tilt="-11.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="16" url="clickme1.png" pan="-139" tilt="-13" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="17" url="clickme2.png" pan="-147" tilt="-14.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="18" url="clickme3.png" pan="-157" tilt="-15.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="19" url="clickme3.png" pan="-170.4" tilt="-17" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="20" url="clickme3.png" pan="175" tilt="-17.6" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="21" url="clickme3.png" pan="160.5" tilt="-16.9" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="22" url="clickme3.png" pan="148" tilt="-15.2" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="23" url="clickme2.png" pan="137" tilt="-13.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="24" url="clickme1.png" pan="129" tilt="-11.7" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="25" url="clickme1.png" pan="122.8" tilt="-10.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="26" url="clickme.png" pan="117.5" tilt="-9.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="27" url="clickme.png" pan="113.5" tilt="-8.87" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="28" url="clickme1.png" pan="109" tilt="-10.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="29" url="clickme1.png" pan="103" tilt="-11.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="30" url="clickme2.png" pan="94.7" tilt="-13.4" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="31" url="clickme3.png" pan="84.4" tilt="-14.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="32" url="clickme3.png" pan="71.3" tilt="-16.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="33" url="clickme3.png" pan="56.4" tilt="-17.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="34" url="clickme3.png" pan="41.5" tilt="-17.5" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="35" url="clickme3.png" pan="28.3" tilt="-16" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="36" url="clickme2.png" pan="17.4" tilt="-14.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="37" url="clickme1.png" pan="9" tilt="-12.8" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="38" url="clickme1.png" pan="2.3" tilt="-11.3" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
<spot id="39" url="clickme.png" pan="-2.43" tilt="-10.1" scaleable="1" smoothing="1" onClick="openUrl(http://www.brooklynmuseum.org/,_self)" />
</global>
</hotspots>
</panorama>