Hi,
I've created a tour using the MAKE VTOUR (NORMAL) droplet. I'd like to add an intro image as in the introimage example contained in the examples folder of the krpano package.
The example contains the following code:
<events name="panoevents"
onloadcomplete="delayedcall(2, if(layer[introimage], hideintroimage() ); ); set(events[panoevents].onloadcomplete,null);"
/>
<layer name="introimage"
url="introimage.png"
align="center"
onloaded="set(alpha,0); tween(alpha,1.0);"
onclick="hideintroimage();"
/>
<action name="hideintroimage">
if(layer[introimage].enabled,
set(layer[introimage].enabled,false);
tween(layer[introimage].alpha, 0.0, 0.5, default, removelayer(introimage));
);
</action>
I've tried adding it to no avail. Should it go in the tour.xml or the vtourskin.xml? I tried both (and made sure the path for the image was relevant). In each case no intro image appeared - but no error message appeared either.
I appreciate this is very basic stuff, so your patience is appreciated!
Thanks.