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)
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!
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!
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 'sound.play(pausePosition)' 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!
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!
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!
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!
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.buttonState = "On";
Posted: Wed Mar 18, 2009 3:15 pm
View 1 Replies!
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!