Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash


ActionScript 3.0 :: Mute/unmuting Internal Sound?

I need to mute/unmute the volume of an streaming internal

View 1 Replies (Posted: Mar 10, 2009 5:16 PM)

Sponsored Links:

Related Forum Messages For Flash category:
ActionScript 2.0 :: Muting Some Sound And Unmuting It With Same Button
How are you all going?? I'm having a bit of trouble with muting some sound and unmuting it with the same button.[code]What i'm trying to do is mute the sound when the button is clicked...and then when it's clicked unmute the sound..I was thinking about using an if statement to check if the volume was set to 0 and if so change it to 100 and visa versa.i'm muting the sounds on the root level of my swf...

Posted: October 18th, 2007

View 1 Replies!   View Related
ActionScript 3.0 :: Mute/unmute The Volume For An Internal Aif Music File Using A Button?
I need the code to mute/unmute the volume for an internal aif music file using a button.

Posted: Mar 9, 2009 6:39 PM

View 2 Replies!   View Related
ActionScript 2.0 :: Add Mute Sound And Unmute Sound Script In A Single Button?
how to add mute sound and unmute sound script in a single button?

Posted: 09-21-2011, 06:39 AM

View 2 Replies!   View Related
Actionscript 3 :: Mute The Sound And Still Get Sound Data From SoundMixer.computeSpectrum?
I wrote something to capture sound from my microphone. I can visualise the sound data with there a way to mute the sound and still get sound data from SoundMixer.computeSpectrum?Now I have this:;
var t:SoundTransform = new SoundTransform(0, 0);
sc.soundTransform = t;

but I do not get any data. if I pump up the volume, data comes through again(I need to mute it because it will echo otherwise).

Posted: Jun 25 11 at 13:27

View 1 Replies!   View Related
IDE :: How To Mute The Sound
I'm working with the FLVPlayback component but the mute functionality is a bit of a black box to me and it seems Macromedia has forgotten to mention anything about it in the help files.I'm trying to mute a playing movie with actionscript. The closest I got is using myFLVplayback.volume = 0. However volume 0 is not the same as mute and pressing the mute controller will do nothing and leave the volume at 0.I can use the volume slider but I can't stand not knowing how to mute the sound through actionscript.

Posted: September 25th, 2005

View 6 Replies!   View Related
As2 :: Mute Sound In Flash?
I want to mute the sound not pause....i already using setVolume script on other buttons.

Posted: Feb 10 11 at 6:40

View 1 Replies!   View Related
ActionScript 3.0 :: Use An Internal Sound Instead Of A UrlReq?
heres what i have

public var sampleMP3:Sound;
sampleMP3 = new Sound();[url]....

i want to use an internal sound instead of a do i do this? its in the library with export for actionscript selected and has a class name testmp3?

Posted: Nov 3, 2009 7:57 AM

View 1 Replies!   View Related
ActionScript 2.0 :: Import Internal MP3 Sound
I have the following code:[code]basically what i need to do is play an internal mp3 from the library that has been exported for the first frame and has the same name as in the array.I have tried the attachSound method but it isn;t working, any ideas?

Posted: 07-06-2010, 03:30 PM

View 5 Replies!   View Related
ActionScript 3.0 :: Pause And/or Mute A Sound?
i'm trying to pause and/or mute a sound, with little success.i've found out that something like '' might fail on sound-clips with low sampling-rate.however when i try to mute a sound with a 48000Khz sampling rate it simply won't work.

i've tried both -

soundChannel.SoundTransform.volume = 0
- and -
SoundMixer.SoundTransform.volume = 0

however both won't mute the sound and when traced return 1.

Posted: Sep 2, 2008 10:00 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Can Mute MICROPHONE Sound
can i mute MICROPHONE sound using AS3?

Posted: May 30, 2009 7:08 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Mute Sound On Timeline?
We have a movie clip containing a set of sound files. All sound is on the timeline.We have tried the following, but none works.

[ on the frame where the sound starts]
if (deactivate) {


Posted: Aug 18, 2011 7:12 PM

View 3 Replies!   View Related
ActionScript 3.0 :: Get Sound Toggle (mute And On)?
I can get my mc button to mute it once, but never turn on again.The audio is a voice over in streaming in the main timeline.

var soundOn:Boolean = true;
onoff_btn.buttonMode = true;


Posted: 02-20-2009, 12:18 AM

View 6 Replies!   View Related
ActionScript 3.0 :: Mute Sound From A Specific MC?
Is it possible to mute sound coming from a MC? as i have a music player inside a MC called musicBar thats on the stage, and just want to mute the sound of the music on a button press, but not any other sounds.What would be the code for this? i'm pretty bad with AS3 so i'd probably need the code pasted...Or i can attach the AS for the music player (the AS is located inside the musicBar MC) and someone call have a look at it? The player has volume control and mute, so the code for it could be used for another button,

Posted: 07-26-2010, 11:00 PM

View 3 Replies!   View Related
ActionScript 2.0 :: Mute WITHOUT Sound Objects?
I have some sounds in movie clips, this is because that is the only way to be able to select SYNC Stream mode (to keep the movie in sync with the narration). Thus I don't want to use Sound Objects because they can get out of sync...

Is there any way to control volume (so I can mute) with out using Sound Objects ?

Posted: December 18th, 2003

View 2 Replies!   View Related
ActionScript 3.0 :: Unloading Internal Sound Classes
I'm using some loopable tracks in a game I'm making and they are imported mp3 files in the .fla file. I export them for actionscript as different classes and then create them as variables, basic stuff.


Posted: 03-22-2012, 08:54 PM

View 1 Replies!   View Related
ActionScript 3.0 :: Mute Button For Sound In Timeline?
I want to add a mute / unmute button for sound that must remain synced to my animation. It sounds like a pretty straightforward task and I'm embarased that THIS is where I've gotten stuck while I've gotten through some stuff I thought would be way harder on my own. The reason this is a problem is because in considering 2 approaches I've run into a wall. I'll gladly accept any advice to circumvent the roadblock either way.

Approach 1 is to add the sound to the library, drop it in the timeline as a stream and build my animation to match. That works just fine, but I can't find an instance name for the sound to run a setVolume function against (not even sure if it would be that simple, but without an instance name, I can't move any further forward; I tried labeling the first frame of the sound layer 'narration' and trying refernces like timeline.narration, timeline, narration, and so on, but no joy).

Approach 2 is to import the sound using URLRequest, instantiating the sound and setting the volume against that instance. Works like a charm but the sound drifts out of sync with the animation (that was synced perfectly when it was in the timeline). This is my less appealing option because I'm using nav buttons taking me to various frames and the sound (which used to pick up at the right frame when it was in the timeline) just plays on without regard to the point in the animation. It's not a surprise to me that this happens, but if I were to do this I'd need to write code into my nav buttons to pick up the right spot in the sound instance and I'm not sure how to do that.

Posted: Sep 27, 2008 7:15 PM

View 5 Replies!   View Related
ActionScript 1/2 :: Set Sound Volume To 0 On A Mute Button?
I'm very new to flash and i've made a movie for a website [url]... and i want to set the sound to 0 on my mute button at the moment i've put [code]...

Posted: Mar 10, 2010 3:25 AM

View 1 Replies!   View Related
ActionScript 3.0 :: Mute The Sound In A Movie Clip?
assuming my movie clip is named "movie"

Posted: Mar 10, 2010 9:27 PM

View 2 Replies!   View Related
ActionScript 2.0 :: Mute A Sound That Is Looping And Unmute It Again?
I have a small loop of a beat. it automatically loops in flash, i need a button to mute this specific sound (so i can put other different sounds) and another button to unmute it... i've seen how to mute a sound (or set volume to zero) but that only works if the song is beiing played on the timeline, but this sound is looping!

Posted: 01-29-2009, 05:51 PM

View 9 Replies!   View Related
ActionScript 3.0 :: FlashVars And Sound Mute (soundMixer)
I need to mute the sound in my flash movie via html (flashVars parameter).My code in timeline is:[code]

Posted: 03-15-2011, 10:39 AM

View 6 Replies!   View Related
ActionScript 3.0 :: Mute / Unmute Sound On FLV Player
I've built an FLV player using Lee Brimelow's AS3 video basics tutorial. I've pieced together my play/pause buttons, but I haven't been able to figure out how to mute the sound. I've tried using soundTransform a bit, but I'm not sure if that only works for the flvPlayback component. My mute/unmute toggle button is working, but the actual muting functionality not. Here's my current failed attempt.

var soundVolume:Number = 1;
var muted:Boolean = false;
mute.buttonMode = true;
mute.addEventListener(MouseEvent.MOUSE_OVER, muteoverToggle);
mute.addEventListener(MouseEvent.MOUSE_OUT, muteoutToggle);
mute.addEventListener(MouseEvent.CLICK, mutetoggleClick);
mute.buttonState = "On";
[Code] .....

Posted: Wed Mar 18, 2009 3:15 pm

View 1 Replies!   View Related
ActionScript 3.0 :: Sound Control - Bug In Mute Action?
I am using the following code to mute sound in a flash file - basically turning the volume to 0 or 1.It works fine until I go to a different scene. Once I load a new scene the button no longer works.


Posted: January 13th, 2012

View 1 Replies!   View Related
ActionScript 2.0 :: Mute A Hole Movie (.swf) And Not Just A One Sound?
Can i mute a hole movie (.swf) and not just a one sound? and how ?

Posted: February 2nd, 2004

View 14 Replies!   View Related
Mute Sound Across All Loaded Movieclips/layers/scenes?
Situation: I have a project I'm working on where I have buttons which make click sounds on their own, and also take you to other scenes where a sound will immediately play. There are also three movieclips involved, total my base movieclip and two independent ones that load on top of that. Problem: I want to include a Mute button so that you can turn off all sounds, but can't figure out how to do that..As I understand it, stopAllSounds won't work for me, because as soon as someone hits another button, a new sound will play.

Posted: 01-19-2010, 05:03 PM

View 5 Replies!   View Related
Copyright 2005-08, All rights reserved