Hello everybody,
So I have a pano with image hotspot and polygone hotspot.
When the image hotspot are hovered they get tweened a bit bigger. It also works on touche device when pressing them with the thumb.
When the polygone hotspot is hovered, it get tween to another fillColor. It works on desktop, however on touch devices, nothing happend when pressing them with the thumb.
Why is one case working and not the other ? What is the cleanest way to make a polygone hotspot tween to another color only while beeing pressed with the thumb on touch device ?
Here is the pano I'm talking about:
http://visitevirtuelle-360.ch/ex/naef/closDeLorbe/
Here is the code of the image hotspot:
Code
<hotspot
name="orbe"
ath="171.9"
atv="45.8"
handcursor="false"
edge="bottom"
url="img/orbe.png"
scale="0.15"
distorted="true"
onover="tween(scale,0.2);"
onout="tween(scale,0.15);" />
Display More
And the code of the polygone hotspot:
Code
<hotspot name="surface"
handcursor="false"
capture="true"
alpha="1.0"
fillcolor="0xAAAAAA"
fillalpha="0.5"
borderwidth="3.0"
bordercolor="0xAAAAAA"
borderalpha="1.0"
onover="tween(fillcolor, 0x014a7f)"
onhover="tween(fillcolor, 0x014a7f)"
onout="tween(fillcolor, 0xAAAAAA)"
onclick="tween(fillcolor, 0x014a7f)"
Display More
Thanks for your inputs !