A button that can mute/unmute a sound with fade in and fade out effect. Sound is property of jermai.de .
Note: when opening as swf file the fade will be faster, almost unnoticeable, but in html page flash performs a bit slower and fade will be longer. To adjust fade length edit these lines: setInterval(decrease_volume, 1); setInterval(increase_volume, 1); 1 is fastest, decreasing volume... < lessmore > 8741 downloads, 34810 views
LacosteMedia, sorry for the late reply, if you stil need to... replace: some_sound.start(); with: some_sound.start(0,999); That means starts playing from second 0 of the sound and repeat 999 times.
I imported my mp3 and replaced the jermai mp3 but when I publish no sound comes out. Am I doing something wrong?
Nice, I need one of these!
Horrible music though lol.
LacosteMedia, sorry for the late reply, if you stil need to... replace:
some_sound.start();
with:
some_sound.start(0,999);
That means starts playing from second 0 of the sound and repeat 999 times.
whats the line to making it loop?
wow i love it. Thanks...