Hello,
I'd like to show info picture for each scene.
My idea is set variable Ninfo with the name of info picture in onstart of each scene:
<scene name="scene_02panocorr" title="Hlavní loď - stará část" onstart="activatespot(mapspot2, 270);set(Ninfo,info2.png);closeinfo();"
than under "i" button in controll panel call the action for showing the info picture:
<action name="displayInfo">
set(plugin[infoScreen].visible,true);
set(plugin[close1].visible,true);
set(plugin[info].onclick,closeHelp();)
</action>
and finally in plugin infoScreen get value from variable Ninfo which should be the name of the right picture:
<plugin name="infoScreen" align="center" customColor="true" keep="true" onclick="closeInfo();" url="get(Ninfo);" visible="false" />
but here is some syntax error.
Question is: what is the right syntax for url="get(Ninfo);" instead of url="skin/info2.png" ?
Thank you in advance