I think this is a bug in the
looktohotspot function. This seems to be happening because the ath coordinates are crossing over from negative numbers (> -180) to positive (< 180) which is of course correct, but prevents the
looktohotspot function from zooming in as it seems to think the hotspot is infinitely large. I've seen this happen also when the range of values for ath is greater than 360 degrees in a polygonal hotspot.
Try changing
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<hotspot name="hs9"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xbedbeb" fillalpha ="0.30" borderwidth ="2.0" bordercolor ="0xbedbeb" borderalpha ="1.00"
fillcolorhover="0x000000" fillalphahover="0.00" borderwidthhover="0.0" bordercolorhover="0x000000" borderalphahover="0.00"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Music School,STYLE3);"
onout=""
ondown=""
onup=""
onclick="looktohotspot(hs9,auto,smooth(150,25,100));"
details="8"
effect=""
flying="0"
inverserotation="false"
usecontentsize="false"
>
<point ath="177.5256" atv=" 60.1226" />
<point ath="-179.7379" atv=" 59.8629" />
<point ath="-178.9646" atv=" 60.7011" />
<point ath="-172.6049" atv=" 58.7765" />
<point ath="-152.4837" atv=" 51.5747" />
<point ath="-152.1610" atv=" 48.7715" />
<point ath="-159.7837" atv=" 44.7972" />
<point ath="-167.8716" atv=" 47.7877" />
<point ath="-169.2918" atv=" 46.2853" />
<point ath="-173.2808" atv=" 47.3465" />
<point ath="-173.2689" atv=" 47.7154" />
<point ath="176.5629" atv=" 49.5501" />
<point ath="176.5340" atv=" 50.5664" />
<point ath="174.9545" atv=" 50.7693" />
<point ath="174.1617" atv=" 54.3659" />
<point ath="174.2000" atv=" 54.3711" />
<point ath="175.2154" atv=" 56.6504" />
</hotspot>
|
to
|
Quellcode
|
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
<hotspot name="hs9"
keep="false"
visible="true" enabled="true" handcursor="true" capture="true" children="true"
zorder="0"
fillcolor ="0xbedbeb" fillalpha ="0.30" borderwidth ="2.0" bordercolor ="0xbedbeb" borderalpha ="1.00"
fillcolorhover="0x000000" fillalphahover="0.00" borderwidthhover="0.0" bordercolorhover="0x000000" borderalphahover="0.00"
fadeintime="0.150" fadeouttime="0.300" fadeincurve="1.100" fadeoutcurve="0.700"
onover=""
onhover="showtext(Music School,STYLE3);"
onout=""
ondown=""
onup=""
onclick="looktohotspot(hs9,auto,smooth(150,25,100));"
details="8"
effect=""
flying="0"
inverserotation="false"
usecontentsize="false"
>
<point ath="177.5256" atv="60.1226" />
<point ath="180.2621" atv="59.8629" />
<point ath="181.0354" atv="60.7011" />
<point ath="187.3951" atv="58.7765" />
<point ath="207.5163" atv="51.5747" />
<point ath="207.8390" atv="48.7715" />
<point ath="200.2163" atv="44.7972" />
<point ath="192.1284" atv="47.7877" />
<point ath="190.7082" atv="46.2853" />
<point ath="186.7192" atv="47.3465" />
<point ath="186.7311" atv="47.7154" />
<point ath="176.5629" atv="49.5501" />
<point ath="176.5340" atv="50.5664" />
<point ath="174.9545" atv="50.7693" />
<point ath="174.1617" atv="54.3659" />
<point ath="174.2000" atv="54.3711" />
<point ath="175.2154" atv="56.6504" />
</hotspot>
|