alert 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
user adrianTNT
adrianTNT (32)

Mute button with fade

A button that mutes / unmutes a sound with fade in and fade out effect.
The sound used is property of jermai.de

How to change the sound:
- First do a "file > import to library" and place your file in the flash library.
- Right click the mp3 file in the library, select "linkage" and type a name under the "identifier" field, press ok.
- In the actionScript code make sure the...
more >
7324 downloads, 27516 views
Download (3.15 MB)

Comments

You need to login to post a comment.

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

I am guessing that that error might be because of flash version in publish settings.
OR ... the clips you created are the wrong type (button/clip)
OR ... you wrote the actions in a wrong place, while a clip was selected rather than a keyframe or a button.

user KelvinAlf
KelvinAlf 14 years ago

Thanks again, I have tried a couple from other authors but it comes up with errors about how a mc can't have on Mouse release and things like that. I'll keep looking, thanks for the help.

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

OK, then you probably should look for a "flash play/pause sound button".

user KelvinAlf
KelvinAlf 14 years ago

BTW sorry for asking so much, I'm 17 and not really skilled in flash as you can probably tell. I've been trying to get a play/stop(or pause) button to play, and have it not being played to start, for the past 4 days

user KelvinAlf
KelvinAlf 14 years ago

Thanks, it kinda worked but what I'n truly trying to get to is something like this:http://www.smartwebby.com/Flash/sou nd_button.asp

user adrianTNT
the listing author adrianTNT (admin) 14 years ago

Hello.
Asuming you want the sound to be muted (not stopped) then change the line:
some_sound.setVolume(100);
to
some_sound.setVolume(0);

user KelvinAlf
KelvinAlf 14 years ago

Hey how do you make the player start without the sound playing but it still being fully functional?

user adrianTNT
the listing author adrianTNT (admin) 15 years ago

The path to swf file must be incorrect, show me the link and I will post the fix if is not something advanced.

user NKL
NKL 15 years ago

the swf is not showing, it does show when i preview it on my pc but when i upload and visit is not

user adrianTNT
the listing author adrianTNT (admin) 15 years ago

The sound file is not playing or the swf file is not showing?

user NKL
NKL 15 years ago

i have uploaded the .js file. the message is not showing anymore but now the file is not playing

user NKL
NKL 15 years ago

hi, it's a great one thanks!
when i visit the site a message pops up saying : This page requires AC_RunActiveContent.js.
i know you've given a .js file but don't know what to do with it!
any help?

user LacosteMedia
LacosteMedia 15 years ago

make it loop!

user SieSie
SieSie 15 years ago

Awesome!

user adrianTNT
the listing author adrianTNT (admin) 16 years ago

Wasthusan asked how to change the sound ...
- First do a "file > import to library" and place your file in the flash library.
- Right click the mp3 file in the library, select "linkage" and type a name under the "identifier" field, press ok.
- In the actionScript code make sure the "attachSound" refers to the exact same name you typed as identifier above. In this sample identifier was "jermai_smoke_on_the_hip_hop.mp3"

user wasthusan
wasthusan 16 years ago

look simple but very good work

user Alexandra
Alexandra 16 years ago

Super!

user jing1
jing1 16 years ago

vry nice