adriansalisbury
04-25-2007, 06:16 AM
Some of my hotspots jump 1 px when I go from still to rotate -
http://www.opticalfx-testsite.co.uk/clients/julianchristian/sussex.html
Here's the xml code
<?xml version="1.0" ?>
<panorama>
<parameters>
panoName = images/sussex-6000
zoomHome = 0.7
tiltHome = -5
panHome = 90
layer_2 = files/hotspots.swf
layer_5 = files/autorotator.swf
behaviour=2
sensitivity=40
friction=0.88
threshold=0.0000001
</parameters>
<autorotator>
speed = -0.1
interval = 30
pause = 1000
quality = low
</autorotator>
<hotspots>
<global >
<spot id="our-range" static="1" staticAlign="LB" staticX="101" staticY="-40" url="images/our-range.png"
onClick="winchester.visible+=1;sussex.visible+=1;salisbury. visible+=1;chelsea.visible+=1;sherborne.visible+=1 ;chiltern.visible+=1"/>
<spot id="winchester" url="images/winchester.png" static="1" staticAlign="LB" staticX="101" staticY="-98" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" onOver="winchester-text.visible+=1,1000" onOut="winchester-text.visible+=0" />
<spot id="chelsea" url="images/chelsea.png" static="1" staticAlign="LB" staticX="101" staticY="-128" visible="0" onClick="pano.leash=free; loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" onOver="chelsea-text.visible+=1" onOut="chelsea-text.visible+=0" />
<spot id="sherborne" url="images/sherborne.png" static="1" staticAlign="LB" staticX="101" staticY="-152" visible="0" onOver="sherborne-text.visible+=1" onOut="sherborne-text.visible+=0" />
<spot id="chiltern" url="images/chiltern.png" static="1" staticAlign="LB" staticX="101" staticY="-176" visible="0" onOver="chiltern-text.visible+=1" onOut="chiltern-text.visible+=0" />
<spot id="salisbury" url="images/salisbury.png" static="1" staticAlign="LB" staticX="101" staticY="-200" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" onOver="salisbury-text.visible+=1" onOut="salisbury-text.visible+=0" />
<spot id="sussex" url="images/sussex.png" static="1" staticAlign="LB" staticX="101" staticY="-229" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" onOver="sussex-text.visible+=1" onOut="sussex-text.visible+=0" />
<spot id="info" static="1" staticAlign="LB" staticX="243.5" staticY="-39.5" url="images/black_i.png" onClick="infoscreen.visible+=1"/>
<spot id="left" static="1" staticAlign="LB" staticX="313" staticY="-39.5" url="images/black_l.png" blockMouse="1" onPress="pano.panKey=-2,500" onRelease="pano.panKey=0"/>
<spot id="right" static="1" staticAlign="LB" staticX="369" staticY="-39.5" url="images/black_r.png" blockMouse="1" onPress="pano.panKey=2,500" onRelease="pano.panKey=0"/>
<spot id="down" static="1" staticAlign="LB" staticX="425" staticY="-39.5" url="images/black_d.png" blockMouse="1" onPress="pano.tiltKey=-2,500" onRelease="pano.tiltKey=0"/>
<spot id="up" static="1" staticAlign="LB" staticX="481" staticY="-39.5" url="images/black_u.png" blockMouse="1" onPress="pano.tiltKey=2,500" onRelease="pano.tiltKey=0" />
<spot id="zoomOut" static="1" staticAlign="LB" staticX="537" staticY="-39.5" url="images/black_m.png" blockMouse="1" onPress="pano.zoomKey=-2,500" onRelease="pano.zoomKey=0"/>
<spot id="zoomIn" static="1" staticAlign="LB" staticX="593" staticY="-39.5" url="images/black_p.png" blockMouse="1" onPress="pano.zoomKey=2,500" onRelease="pano.zoomKey=0"/>
<spot id="auto" static="1" staticAlign="LB" staticX="649" staticY="-39.5" url="images/black_a.png" blockMouse="1" onClick="external.autorotator.disabled+=1; pano.pan_v=0; pano.tilt_v=0; pano.zoom_v=0;"/>
<spot id="full" static="1" staticAlign="LB" staticX="718.5" staticY="-39.5" url="images/black_f.png" onClick="fullscreen(-)"/>
<spot id="infoscreen" url="images/logoInfo.png" static="1" visible="0" onClick="openUrl(http://www.opticalfx.co.uk/)" />
<spot id="chelsea" pan="-140" tilt="-10" url="images/hotspot.png" linked="images/sussex-6000" onClick="pano.leash=free; loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="salisbury" pan="-110" tilt="-5" url="images/hotspot.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="sussex" pan="-15" tilt="-5" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" />
<spot id="winchester" pan="129" tilt="-5" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" />
<spot id="salisbury" pan="-175" tilt="-8" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="sussex" pan="-175" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" />
<spot id="winchester" pan="-110" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" />
<spot id="chelsea" pan="-161" tilt="-8" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="people" pan="13" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/people-6000&panHome=90&tiltHome=-5)" />
<spot id="salisbury" pan="-180" tilt="-13" url="images/hotspot.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="chelsea" pan="-53" tilt="-13" url="images/hotspot.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="salisbury" pan="142" tilt="-5" url="images/hotspot.png" linked="images/people-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=10&tiltHome=-5)" />
<spot id="winchester-text" url="images/winchester-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="sussex-text" url="images/sussex-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="salisbury-text" url="images/salisbury-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="chelsea-text" url="images/chelsea-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="chiltern-text" url="images/chiltern-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="sherborne-text" url="images/sherborne-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
</global>
</hotspots>
</panorama>
I guess I didn't notice this until I tried to slice a background of my navigation and sit the hotspots all next to each other like I might do in a web page.
Is there any way I can fix this? I see other peoples examples do the same but you only really notice it when you touch the images up to each other like I have.
Any help greatly appreciated :roll:
http://www.opticalfx-testsite.co.uk/clients/julianchristian/sussex.html
Here's the xml code
<?xml version="1.0" ?>
<panorama>
<parameters>
panoName = images/sussex-6000
zoomHome = 0.7
tiltHome = -5
panHome = 90
layer_2 = files/hotspots.swf
layer_5 = files/autorotator.swf
behaviour=2
sensitivity=40
friction=0.88
threshold=0.0000001
</parameters>
<autorotator>
speed = -0.1
interval = 30
pause = 1000
quality = low
</autorotator>
<hotspots>
<global >
<spot id="our-range" static="1" staticAlign="LB" staticX="101" staticY="-40" url="images/our-range.png"
onClick="winchester.visible+=1;sussex.visible+=1;salisbury. visible+=1;chelsea.visible+=1;sherborne.visible+=1 ;chiltern.visible+=1"/>
<spot id="winchester" url="images/winchester.png" static="1" staticAlign="LB" staticX="101" staticY="-98" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" onOver="winchester-text.visible+=1,1000" onOut="winchester-text.visible+=0" />
<spot id="chelsea" url="images/chelsea.png" static="1" staticAlign="LB" staticX="101" staticY="-128" visible="0" onClick="pano.leash=free; loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" onOver="chelsea-text.visible+=1" onOut="chelsea-text.visible+=0" />
<spot id="sherborne" url="images/sherborne.png" static="1" staticAlign="LB" staticX="101" staticY="-152" visible="0" onOver="sherborne-text.visible+=1" onOut="sherborne-text.visible+=0" />
<spot id="chiltern" url="images/chiltern.png" static="1" staticAlign="LB" staticX="101" staticY="-176" visible="0" onOver="chiltern-text.visible+=1" onOut="chiltern-text.visible+=0" />
<spot id="salisbury" url="images/salisbury.png" static="1" staticAlign="LB" staticX="101" staticY="-200" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" onOver="salisbury-text.visible+=1" onOut="salisbury-text.visible+=0" />
<spot id="sussex" url="images/sussex.png" static="1" staticAlign="LB" staticX="101" staticY="-229" visible="0" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" onOver="sussex-text.visible+=1" onOut="sussex-text.visible+=0" />
<spot id="info" static="1" staticAlign="LB" staticX="243.5" staticY="-39.5" url="images/black_i.png" onClick="infoscreen.visible+=1"/>
<spot id="left" static="1" staticAlign="LB" staticX="313" staticY="-39.5" url="images/black_l.png" blockMouse="1" onPress="pano.panKey=-2,500" onRelease="pano.panKey=0"/>
<spot id="right" static="1" staticAlign="LB" staticX="369" staticY="-39.5" url="images/black_r.png" blockMouse="1" onPress="pano.panKey=2,500" onRelease="pano.panKey=0"/>
<spot id="down" static="1" staticAlign="LB" staticX="425" staticY="-39.5" url="images/black_d.png" blockMouse="1" onPress="pano.tiltKey=-2,500" onRelease="pano.tiltKey=0"/>
<spot id="up" static="1" staticAlign="LB" staticX="481" staticY="-39.5" url="images/black_u.png" blockMouse="1" onPress="pano.tiltKey=2,500" onRelease="pano.tiltKey=0" />
<spot id="zoomOut" static="1" staticAlign="LB" staticX="537" staticY="-39.5" url="images/black_m.png" blockMouse="1" onPress="pano.zoomKey=-2,500" onRelease="pano.zoomKey=0"/>
<spot id="zoomIn" static="1" staticAlign="LB" staticX="593" staticY="-39.5" url="images/black_p.png" blockMouse="1" onPress="pano.zoomKey=2,500" onRelease="pano.zoomKey=0"/>
<spot id="auto" static="1" staticAlign="LB" staticX="649" staticY="-39.5" url="images/black_a.png" blockMouse="1" onClick="external.autorotator.disabled+=1; pano.pan_v=0; pano.tilt_v=0; pano.zoom_v=0;"/>
<spot id="full" static="1" staticAlign="LB" staticX="718.5" staticY="-39.5" url="images/black_f.png" onClick="fullscreen(-)"/>
<spot id="infoscreen" url="images/logoInfo.png" static="1" visible="0" onClick="openUrl(http://www.opticalfx.co.uk/)" />
<spot id="chelsea" pan="-140" tilt="-10" url="images/hotspot.png" linked="images/sussex-6000" onClick="pano.leash=free; loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="salisbury" pan="-110" tilt="-5" url="images/hotspot.png" linked="images/sussex-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="sussex" pan="-15" tilt="-5" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" />
<spot id="winchester" pan="129" tilt="-5" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" />
<spot id="salisbury" pan="-175" tilt="-8" url="images/hotspot.png" linked="images/chelsea-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="sussex" pan="-175" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/sussex-6000&panHome=80&tiltHome=-5)" />
<spot id="winchester" pan="-110" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/winchester-6000&panHome=60&tiltHome=-5)" />
<spot id="chelsea" pan="-161" tilt="-8" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="people" pan="13" tilt="-5" url="images/hotspot.png" linked="images/salisbury-6000" onClick="pano.leash=free;loadPano(?panoName=images/people-6000&panHome=90&tiltHome=-5)" />
<spot id="salisbury" pan="-180" tilt="-13" url="images/hotspot.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=30&tiltHome=-5)" />
<spot id="chelsea" pan="-53" tilt="-13" url="images/hotspot.png" linked="images/winchester-6000" onClick="pano.leash=free;loadPano(?panoName=images/chelsea-6000&panHome=40&tiltHome=-5)" />
<spot id="salisbury" pan="142" tilt="-5" url="images/hotspot.png" linked="images/people-6000" onClick="pano.leash=free;loadPano(?panoName=images/salisbury-6000&panHome=10&tiltHome=-5)" />
<spot id="winchester-text" url="images/winchester-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="sussex-text" url="images/sussex-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="salisbury-text" url="images/salisbury-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="chelsea-text" url="images/chelsea-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="chiltern-text" url="images/chiltern-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
<spot id="sherborne-text" url="images/sherborne-text.png" static="1" staticAlign="LB" staticX="101" staticY="-351" visible="0" />
</global>
</hotspots>
</panorama>
I guess I didn't notice this until I tried to slice a background of my navigation and sit the hotspots all next to each other like I might do in a web page.
Is there any way I can fix this? I see other peoples examples do the same but you only really notice it when you touch the images up to each other like I have.
Any help greatly appreciated :roll: