Rollover/Out Audio Buttons - NO click!

I’m trying to get a 10 second audio clip to play when I rollOver a Button, I want it to stop when I rollOut. I can’t do it with a Button Event as there is no rollout option…so how then? I need 20 of these on a page, so setting the audio as an Event isn’t an option due to file size. A looping stream?


EDIT: Since nobody else seems to know the answer, here it is.
This script will loop the external streaming sound when you rollover the Button Event.

Add the script below to the Button and upload your MP3 to the server:

[COLOR=“DarkRed”]on(rollOver){
sound1 = new Sound();
sound1.loadSound(“http://www.domain.com/soundclip.mp3”, true);
sound1.start(0,1);
sound1.onSoundComplete = function() {
sound1.start(.1, 0)
};
}

on(rollOut){
sound1.stop();
}[/COLOR]

The only downside to this menthod is the poor audio looping that’s common with the MP3 format, the gap…which is compounded by Flash’s even greater inability to loop MP3.

But hey, beggars can’t be choosers…it works well enough, just make your MP3 files longer than a single loop. You may as well use 30 seconds or a minute since it’s streaming and not embedded in the file, it really doesn’t matter how long it is.

njoy