00:00
00:00
Newgrounds Background Image Theme

Neptuno84 just joined the crew!

We need you on the team, too.

Support Newgrounds and get tons of perks for just $2.99!

Create a Free Account and then..

Become a Supporter!

As3 Mute Button Help...

1,942 Views | 4 Replies
New Topic Respond to this Topic

As3 Mute Button Help... 2008-10-14 22:23:01


Alright, so I'm trying to create a mute button and I can't get it to work. I also can't find any tutorials or source code for what I need...

I'm trying to make a toggle mute on/off button that when muted makes it so sounds aren't played anymore. I don't have any set stream or any 1 sound playing, I just need the button to not let any sounds be played until I toggle it off again. Help?

Response to As3 Mute Button Help... 2008-10-14 22:50:49


*sigh*

on (release) {
stopAllSounds();
}

BBS Signature

Response to As3 Mute Button Help... 2008-10-14 22:56:31


At 10/14/08 10:50 PM, Magical-Zorse wrote: *sigh*

on (release) {
stopAllSounds();
}

*sigh*
Learn to read... As3!

Response to As3 Mute Button Help... 2008-10-14 22:57:19


At 10/14/08 10:50 PM, Magical-Zorse wrote: *sigh*

on (release) {
stopAllSounds();
}

LOL looks like someone didn't even read the title.
You need to learn some Event Listeners and stuff to do this,
check out the AS3: Main.

<3


what

BBS Signature

Response to As3 Mute Button Help... 2008-10-15 00:19:43


At 10/14/08 10:57 PM, K-Guare wrote:
At 10/14/08 10:50 PM, Magical-Zorse wrote: *sigh*

on (release) {
stopAllSounds();
}
LOL looks like someone didn't even read the title.
You need to learn some Event Listeners and stuff to do this,
check out the AS3: Main.

<3

is as3 so different from as2 that they don't even use the stopallsounds command?


BBS Signature