Home Tutorials Forums Articles Blogs Movies Library Employment Press
Old 05-30-2008, 05:18 PM   #1
Registered User
Join Date: Feb 2008
Posts: 14
Default mute all sounds in game

i have sounds in a flash game which include music from the library, sound effects and sound effects that are embedded in movieclips. i am trying to make a mute button... is there a method or anything that mutes everything at once?
johosher is offline   Reply With Quote
Old 06-02-2008, 03:13 PM   #2
Registered User
Join Date: Apr 2008
Posts: 173

this is how you control global volume:

function setVol(newVol : Number):void // use 0-100
   SoundMixer.soundTransform = new SoundTransform(newVol/100);
fitz is offline   Reply With Quote

Thread Tools
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
FlashGameLicense.com - virtual marketplace to connect game developers and buyers AdamSchroeder General Chat 0 12-18-2007 09:16 PM
As3 Developer Required - Rush Job - Tetris Game Completion provdes Projects and Positions 0 12-09-2007 09:34 PM
AS3 Game Dev Kit newblack General Chat 3 06-03-2007 01:30 AM
Rate My Game, plz fill the questioner UzumakiJr Site Check 0 12-16-2006 08:48 PM
Mute Sounds ? blueyes ActionScript 2.0 2 11-12-2005 02:21 AM

All times are GMT. The time now is 11:18 AM.

Follow actionscriptorg on Twitter


Powered by vBulletin® Version 3.8.5
Copyright ©2000 - 2014, Jelsoft Enterprises Ltd.
Ad Management plugin by RedTyger
Copyright 2000-2013 ActionScript.org. All Rights Reserved.
Your use of this site is subject to our Privacy Policy and Terms of Use.