You are not logged in.

Dear visitor, welcome to Forum. If this is your first visit here, please read the Help. It explains in detail how this page works. To use all features of this page, you should consider registering. Please use the registration form, to register here or read more information about the registration process. If you are already registered, please login here.


Sunday, March 3rd 2013, 3:27pm

Sound on Scene Load & Hotspot only

Hi Friends,
Can someone tell what code to play a sound on loading a scene and allow the sound to play only in the range of a hotspot, i.e, without any click?

I guess this code requires some modifications:

<!-- start playing the sound -->
<events name="currentpano"
onnewpano="playsound(bgsnd, 'music1.mp3', 0;"

<!-- play sound at 90/0 - range 120 -->
<hotspot name="b2" url="button2.png" ath="90" atv="0" onclick="playsound3D(s2,music2.mp3, 90,0, 120); " />



Thursday, March 14th 2013, 8:53am

I've found that "onloaded" automatically triggers the sound instead of using "onclick". But I need the sound to play continuously. Can some please tell what the syntax would be for looping the sound with "Playsound3D"? By the way, what is the difference between "Playsound3D" and "Playsound3DHS"?



Sunday, March 17th 2013, 1:53pm

Ok problem is solved, loops; 0=endless *g*