This appears to be a flash file, you cannot see a preview because flash player is no longer supoorted in browsers, but you can still download the file to study it's source code.
You can open/play the swf file with Flash Player exe
You can open/play the swf file with Flash Player exe
adrianTNT (32)
Mute button with fade V2
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... more >
8742 downloads, 35454 views
Comments
You need to login to post a comment.
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...
This is excellent but how do you set it to loop the wave? I can only get it to play once.
very nice
Zitamanda, I tried few things to give you an exact code but it looks like it would really complicate things and is better to built this from scratch for that exact purpose (3 volume levels).
hi, i'm thinking the same feature of using yours and have 3 different volumn control by hitting the same button, which mute, low, medium, high in the volume control, is it possible and complicated to do this?
Thanks, thanks :D
8/10
cool;) great job adrianTNT;)
I like...
10
Good job...very cool. Tks
I am glad you guys like it.
thx so cool
cool... very cool!!
tks
well done, Adrian