Hi,
Come across an odd one here.
I have a flat map image on screen with 20 marker hotspots applied. Each marker is a 'circle with a number on' png image.
I've no problems at all with all the hospots showing on the map and clicking each one goes to the relevant index file. Problem is the client wants a mouse over adding to each hotspot showing a small thumbnail image which I can do but it's giving me problems.
<hotspot name="spot1" url="skin/marker_1.png" children="true" scale="1.0" ath="-0.190" atv="0.269" onover="set(plugin[thumb01].visible,true);tween(plugin[thumb01].alpha,1);" onout="tween(plugin[thumb01].alpha,0,,set(plugin[thumb01].visible,false););" onclick="openurl('test/index.html',_self);" />
<layer name="thumb01" align="center" x="110" y="-90" keep="false" parent="spot1" handcursor="false" zorder="2" url="skin/thumb01.jpg" visible="false" />
Using parent="spot1" for the thumbnail in an attempt to align it to the hotspot doesn't work and the thumbnail appears but in the center area of the screen
If I use parent="hotspot[spot1]" then the thumbnail is correctly aligned just to the top right of the hotspot but the thumbnail can also be moused over. The idea was that only the hotspot was able to be 'moused over', not the thumb01. How can that happen if its invisible by default?
Also I noticed that the zorder="2" has no effect no matter what value I give it as the pop up thumb01 is always behind other surrounding hotspots.
Any advice is appreciated.
Thanks,
Andrew