PDA

View Full Version : Borders inside hotspot plugin


Bernie
05-15-2007, 10:15 PM
Hi
I would like to know if it is posible to use border plugin inside hotspot plugin.

I need to set different tilt_max and tilt_min for all the panoramas.

This is my xml file

<?xml version = '1.0'?>
<panorama>
<parameters>
keySensitivity = 50
sensitivity =50
zoomHome=1
panHome =110
tiltHome = 0
zoomMin = 1
panoName = ../images/splendor/lobbie/lobbie
layer_2 = ../files/autorotator.swf
layer_3 = ../files/borders.swf
layer_5 = ../files/hotspots.swf
</parameters>
<autorotator>
speed=0.1
quality=high
</autorotator>
<borders>
tilt_min = -35
</borders>
<hotspots>
<global onLoad="alpha=0; alpha=1,1000" LocalConnectionID="lc_test">
<spot id="lobbie1" pan="-20" tilt="0" url="../images/interior.swf" linked="../images/splendor/lobbie/lobbie" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/aireluz/aireluz&panHome=153&tiltHome=0)"/>
<spot id="lobbie2" pan="-78" tilt="0" url="../images/restaurant.swf" linked="../images/splendor/lobbie/lobbie" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/restaurant/restaurant&panHome=110&tiltHome=0)"/>
<spot id="aireluz1" pan="155" tilt="-35" url="../images/lobbie.swf" linked="../images/splendor/aireluz/aireluz" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/lobbie/lobbie&panHome=110&tiltHome=0)"/>
<spot id="aireluz2" pan="220" tilt="0" url="../images/vipsuite.swf" linked="../images/splendor/aireluz/aireluz" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/suite1/suite1&panHome=110&tiltHome=0)"/>
<spot id="aireluz3" pan="277" tilt="0" url="../images/concept.swf" linked="../images/splendor/aireluz/aireluz" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/cuarto/cuarto&panHome=30&tiltHome=-15)"/>
<spot id="restaurant" pan="-152" tilt="0" url="../images/lobbie.swf" linked="../images/splendor/restaurant/restaurant" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/lobbie/lobbie&panHome=110&tiltHome=0)"/>
<spot id="suite1" pan="-105" tilt="-5" url="../images/vipsuite2.swf" linked="../images/splendor/suite1/suite1" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/suite2/suite2&panHome=150&tiltHome=0)"/>
<spot id="suite2" pan="110" tilt="0" url="../images/vipsuite1.swf" linked="../images/splendor/suite2/suite2" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/suite1/suite1&panHome=50&tiltHome=-15)"/>
<spot id="suite3" pan="118" tilt="0" url="../images/interior.swf" linked="../images/splendor/suite1/suite1" onClick="pano.leash=free; loadPano(?panoName=../images/splendor/aireluz/aireluz&panHome=153&tiltHome=0)"/>
<spot id="cuarto" pan="208" tilt="0" url="../images/interior.swf" linked="../images/splendor/cuarto/cuarto" onClick="pano.leash=free;tilt_max=10; loadPano(?panoName=../images/splendor/aireluz/aireluz&panHome=153&tiltHome=0)"/>
</global>
</hotspots>
</panorama>

Thanks

andras
05-16-2007, 05:42 PM
borders is a plugin you can controll externally. you will have to do this at the time of loading each pano to set the relevant values.

the documentation touches upon it, look at it and see if you still have questions.

working samples of different tilt values for panoramas within a tour can be seen here:
http://www.jazzfestblog.com/vt/view.php?id=sziget

-andras
http://www.jazzfestblog.com
________
Roll A Joint (http://howtorollajoint.net/)