http://360concept.ro/
i have a xml that contains the plugins like butons map , info ,little planet and all the things i need and another 2 xml's which containes 2 different panos.the problem is that when i start the first xml , 1.xml, the event "onstart" executes correctly but the same event on 2.xml doesn't do anything.
sample from include.xml
QuoteDisplay More
<krpano version="1.0.8">
<include url="map.xml"/> -----this contains other plugins and maps
<!------------------------------------------>
<plugin name="map_close"
url="images/ascunde.png"
keep="true"
visible="false" enabled="true" handcursor="true" capture="true" children="true"
onclick="action(hidemap);"
/>
<!----------------------------------------------->
<plugin name="map_open"
url="images/arata.png"
keep="true"
visible="false" enabled="false" handcursor="true" capture="true" children="true"
onclick="action(showmap);"
/>
<action name="hidemap">
set(plugin[map_open].enabled, true);
tween(plugin[map_open].alpha, 0.66, 0.5, default);
set(plugin[map_close].enabled, false);
tween(plugin[map].x, -655, 0.5, default, set(plugin[map].visible,false));
tween(plugin[map_close].x, 5, 0.5, default, set(plugin[map_close].visible,false));
wait(0.7);
set(plugin[map_open].visible,true);
</action><action name="showmap">
set(plugin[map_open].visible,false);
set(plugin[map_open].enabled, false);
tween(plugin[map_open].alpha, 0.66, 0.5, default);
set(plugin[map_close].enabled, true);
set(plugin[map].visible,true); tween(plugin[map].x, 5, 0.5, default);
set(plugin[map_close].visible,true); tween(plugin[map_close].x, 655, 0.5, default);
</action>
sample from 1.xml
Quote
<krpano version="1.0.8"onstart="action(starthelp);action(showmap)">
sample from 2.xml
Quote
<krpano version="1.0.8"onstart="action(starthelp);action(hidemap)">
just click fullscreen, click on the arrow to go to the next pano, and try to click again on the button to switch to normal screen
http://360concept.ro/panorame/olane…360concept.html