Hello,
First of all, sorry for my bad english. I'm french and I'm a real beginner in computer language
I would like to know if you could help me for a problem. I have a music for my first pano and another that begins with the second pano and for several panos. If
I switch from first to second pano everything works fine but if I spend
the first pano and after the third by clicking on the third thumbnail, the
music does not begin. It is the second pano that starts the music !!!
so I would like my music starts whatever the pano I choose by clicking on the thumbnail
Here are the codes that I have installed.
For sound
<plugin name="soundinterface"
url="plugins/soundinterface.swf"
alturl="plugins/soundinterface.js"
preload="true"
rootpath=""
volume="1.0"
mute="false"
/>
for the music starts with the first piano
<events name="currentpano"
onnewpano="playsound(bgsnd, 'sounds/horreur.mp3|sounds/horreur.ogg', 360, 0, 360, 0.8, loops);"
onremovepano="stopsound(bgsnd);"
/>
and finally to the other music starts with the second pano
<events name="currentpano"
onnewpano="playsound(bgsnd, 'sounds/gamma.mp3|sounds/gamma.ogg', 360, 0, 360, 0.8, loops);"
onremovepano="false"
/>
Many thanks
JP
http://www.jeanpierrerieu.fr