Deviant Login Shop  Join deviantART for FREE Take the Tour
×



Details

Submitted on
April 7, 2010
Image Size
2.2 MB
Resolution
550×400
Link
Thumb
Embed

Stats

Views
2,149
Favourites
96 (who?)
Comments
33
Downloads
92
×
Here's a spiffy little mute-button tutorial for all you lovely flash designers.

Originally just for :iconcronobreaker: and his new cartoonwork, I got a little carried away. Now it's a bit of... Well... Everything!

Enjoy!
Add a Comment:
 
:iconnoteddreams:
NotedDreams Featured By Owner Jun 11, 2014  Student General Artist
Ok I'm pretty sure I'm missing something obvious, but how do I name my music in flash? I labeled it in actionscript like you said, but my music still plays. Does "blah = new Sound ();" automatically label the music? How does flash know which music file to play/stop in the button? 
Reply
:icontrinitysage:
TrinitySage Featured By Owner May 6, 2014  Hobbyist Writer
wooow, awesome! I was chair dancing at the end, hehe
Reply
:iconalexdachshund:
AlexDachshund Featured By Owner Nov 16, 2011  Hobbyist Digital Artist
I did this tutorial and I'm having problems. For some reason, when I click the mute button, it mutes like supposed to but I click it again and the music won't turn back on D:
Reply
:iconantonyc:
AntonyC Featured By Owner Nov 16, 2011
Hmm.
Are you sure you have created two buttons?
Reply
:iconalexdachshund:
AlexDachshund Featured By Owner Nov 16, 2011  Hobbyist Digital Artist
No, I don't think it said to o.O Unless I read wrong.
Reply
:iconantonyc:
AntonyC Featured By Owner Nov 16, 2011
Oh but that's the point.
You need two buttons: One with the script to turn the volume down to zero and another to turn it back up to 100.
(The script for each button is identical except for the numbers '0' and '100').

The next step is combining the two into one movie symbol, but make sure you can get the two buttons working first.
Reply
:iconalexdachshund:
AlexDachshund Featured By Owner Nov 16, 2011  Hobbyist Digital Artist
Ah I don't know how to do any of that :/
Reply
:iconantonyc:
AntonyC Featured By Owner Nov 16, 2011
Oh sure you can!
You made one button, yeah?
Now make another. -one that has setVolume(100); instead of setVolume(0);

Then you can just have two buttons on the stage; an 'on' and an 'off' button.

See if that works. :)
Reply
:icondemonchick25:
demonchick25 Featured By Owner Aug 3, 2011  Hobbyist Digital Artist
this is amazingly helpful~
Thank you so much
Reply
:iconphitus:
PhiTuS Featured By Owner May 14, 2011  Professional Filmographer
Oh good. Now I don't have to have a dedicated button that plays the song several times every time you press it.
Reply
Add a Comment: