Hi guys,

So i am building a web-site and wanted to put a small sound control system onto it. I mean one looping song with Play, Stop and volume controls. I´ve managed to do that many times for CD-ROM presentations but now that I want to do it on a web-site it won´t work! Here´s what I am doing...

On the second frame of the movie (on the first one I´ve got my preloader):

som = new Sound();
som.loadSound("mp3/ambient.mp3", false)
var vol = 70;
_root.onEnterFrame = function() {
som.setVolume(vol);
vol_t.text = vol;
}
som.start(som.pausa, 9999);
stop();
Besides that, I´ve put a button on the same frame with the following code:

on (release) {
som.stop();
som.pausa = 0;
if (som.pausa != null) {
som.start(som.pausa, 9999);
} else {
som.start(0, 9999);
}
}
Unfortunately, once the site opens the song won´t play at all... In the other hand, If I press this button, the song will start. That behavior tells me that the movie IS finding and loading the MP3 file, but it is not starting it unless told so by the button.

And just to make things a little bit more awkward, that behavior only happens when I test the movie in its remote server. If I test the movie in my PC locally there won´t be any problems at all...

Thank you for any help.

Regards