hi guys, hi klaus,
i've made a virtual tour here my goal was to do a automatic virtual tour with one background music playing continously.
now, i have managed to get most of it to work locally/offline but:
1) - online, the sound doesn't continue anymore, but the music starts with every change of scene.
2) - the sound on/off - button at the rightbottom, don't show online.
3) - another problem is that i can't get the sound to just "mute" when i press the sound on/off - button! - instead it stops the music and starts the track again from the beginning.
i hope anyone can help me out here!
any suggestions or ideas are much appreciated!
thx in advanced!
Code
...
set(idletime,2);set(events.onidle, autotour());
oninterrupt(break); lookto(-0.2,0,20,linear(1),false);loadpano(patta-village-plaza_extern.xml,null,KEEPBASE|NOPREVIEW,BLEND(2));
playsound(sound,themes/sleepaway.mp3,loops='0'); set(plugin[btn_speaker_on].visible,false); set(plugin[btn_speaker_off].visible,true); set(volume,0.3);
stopsound(sound); set(plugin[btn_speaker_off].visible,false); set(plugin[btn_speaker_on].visible,true);