Beiträge von Baski

    With a lot of copy/paste and trial and error, since I'm really a n00b in coding I managed to create a tour especially built for VR. Now the client tried it on his ipad and ofcourse the hotspots won't show by hovering your finger over it ;) So I made a switch for that.

    This is the code I used:

    Code
    <hotspot name="hs1" url="hotspots/infoknop.png" height="40" 
    width="40" distorted="true" zorder="1" ath="32.673" atv="-20.631"  
    onover="tween(hotspot[hs1_txt].alpha,1)" 
    onout="tween(hotspot[hs1_txt].alpha,0)"
    onclick="switch(hotspot[hs1_txt].alpha, 0, 1);" />
       
     	<hotspot name="hs1_txt" url="hotspots/HS1.png" alpha="0" 
    zorder="2" ath="32.673" atv="-20.631"  distorted="true" enabled="false" 
    />


    But I much rather like to have a hotspot pressed, make it show the target and tween back to alpha 0 after a few seconds.
    I've browsed the forums and saw some info about 'delayedcall', but I didn't get it to work yet.

    Edit: This is what I figured should work, now just need to get some delay for the 'onup' state:

    Code
    ondown="tween(hotspot[hs1_txt].alpha,1)" onup="tween(hotspot[hs1_txt].alpha,0)"

    Any pointers?

    Thanks in advance!
    Bas

    I've downloaded the demo and now Im trying to make te plugins work and watched a tutorial on youtube: https://www.youtube.com/watch?v=4-R6oYGddJ0
    Did all that...

    My XML code:

    <krpano version="1.0.8.15" title="Virtual Tour" onstart="startup();">

    <!-- plugins -->
    <plugin name="editor" url="plugins/editor.swf" />
    <plugin name="textfield" url="plugins/textfield.swf" />

    plugin folder is right next to the .xml, so I think the path is correct.

    But when I startup the tour, nothing changes... no editor/textfield buttons.
    What am I doing wrong here?

    Thanks in advance for any help.