Hello,
I need to open a scene from the combox that point to a specific hotspot.
This is what I'm doing but it's not working.
The combox
<!-- combobox plugin -->
<plugin name="box" keep="true"
url="%SWFPATH%/plugins/combobox.swf"
alturl="%SWFPATH%/plugins/combobox.js" native="false"
align="toprightbottom" x="10" y="10"
widhth="20"
rowcount="20"
onloaded="action(setupitems);"
/>
The action
<action name="setupitems">
removeall();
additem(myhotspotname, action(art1) );
</action>
<action name="art1">
<!-- select combobox item -->
plugin[combobox].selectitem(myhotspotname);
<!-- dynamically add a hotspot -->
addhotspot(myhotspotname);
set(hotspot[myhotspotname].onclick, looktohotspot(myhotspotname); action(art1); );
<!-- load scene image -->
loadscene(scene_01)null,looktohotspot(myhotspotname),KEEPALL,BLEND(1));
<!-- set view -->
lookat(0,0,0);
</action>
Polygonal hotspot
<!-- polygonal hotspots for the pictures on the wall
(for a HTML5 a zoomicon is used as alternative) -->
<style name="pichotspot1"
capture="false"
zorder="1"
onclick="showpic();"
alturl="hotspots/zoomicon.png"
onhover="showtext( );"
zoom="true"
scale="0.5"
/>
<hotspot name="myhotspotname" style="pichotspot1" pic="mypic">
<point ath="60.87087" atv="4.169227" />
<point ath="60.83824" atv="-0.236102" />
<point ath="66.609892" atv="-0.316512" />
<point ath="66.711845" atv="5.318165" />
<point ath="64.249965" atv="5.725627" />
<point ath="60.933266" atv="5.53932" />
</hotspot>
Thank you very much for help.
Andrea