Since short time, I'm having problems with html5-hotspots. i need hotspots for flash and html5. if i change the url or alturl dynamicly, the hostpots disappear in html5.
an example:
Code
<hotspot name="spot1_1"
ath="-15.5613" atv=" 2.5229"
url="%CURRENTXML%/hotspots/circle_over_left.png"
zoom="false"
type="hs_over"
onclick="lookto(get(ath),0, 60, smooth(300,50,40)); loadpanointime(scene_pano002, 153);"
onover="hotspotover(get(type), get(name));"
onout="hotspotout(get(type), get(name));"
onloaded="makemobilehs();"
/>
<action name="makemobilehs">
ifnot(isdesktop,
set(scale, 2.0);
set(url, %CURRENTXML%/hotspots/circle_over_note.png);
);
</action>
Alles anzeigen
with these hotspot and his configuration, it dissapears after the onloaded function call. but only in the html5-viewer. in flash it is visible. if the line "set(url, %CURRENTXML%/hotspots/circle_over_note.png);" is removed, the hotspot is visible and enabled.
can someone help with this problem.