Hi all!
Thanks in advance for helping.
I have following folder structure:
- A folder called 'panos' contains files 'pano01.xml', 'pano02.xml', 'pano03,xml', etc..
- Each file looks like this:
<krpano version="1.0.8" onstart="action(set_hotspots);">
<include url="../global.xml"/>
<include url="../plugins.xml"/>
<view/>
<preview/>
<image></image>
<action name="set_hotspots"></action>
</krpano>
- global.xml contains diplay, autorotate, progress and control settings.
- plugin.xml contains plugins, actions, etc..
- What I would like to achieve to have all the 'set_hotspots' actions in a single file called brilliantly 'hotspots.xml'
I've tried using the following in 'pano01.xml'
<krpano version="1.0.8" onxmlcomplete="loadscene(scene01,null,MERGE,BLEND(1));">
<include url="../global.xml"/>
<include url="../plugins.xml"/>
<include url="../hotspots.xml"/>
<view/>
<preview/>
<image></image>
</krpano>
And this is 'hotspots.xml'
<scene name="scene01" onstart=" action(set_hotspots);">
<action name="set_hotspots">
action(one_line, up, pano02, Entrance, -82, 9, -87, -6);
</action>
</scene
This doesn't work.
It ignores view parameters and it loads only the preview, not the tiles.
I've also tried with onstart instead of onxmlcompleted. And both, onxmlcomplete="loadscene(scene01); and onstart="loadscene(scene01);
The hotspos action works properly so far.
What am I missing?
Thanks!!!