ActionScript 2.0 :: Adding Button To Mute All Sounds

Jan 26, 2010

I've produced an instructional animation for a client who now wants to add a mute button. There are several sound clips throughout the movie. How do I achieve this?

View 4 Replies


Similar Posts:


Professional :: Adding Mute Button To Timeline

Jan 1, 2011

I currently have several photos that rotate in an out and i also have a music clip which plays when i test the movie. i want to add a mute button from the components tab onto a timeline. Not sure how difficult this is for a novice, but I would like to try and figure it out. Most of the tutorial i've looked at tell you how to create the button and link it to the music. I haven't come across anything that tells you how to embed it into a timeline.

View 4 Replies

ActionScript 2.0 :: Adding Mute Button - Passing Variable In SWFs

Feb 10, 2008

I have a client who wants to add something to a flash presentation that is almost done. There is a root swf that is pulling in a nav screen swf, which in turn is pulling in the text screen swf of that corresponding nav swf. So at the start, the root swf automatically loads nav1.swf, and nav1.swf automatically loads text1.swf. Once that plays, the next button loads nav2.swf into the root swf, and in turn, nav2.swf automatically loads text2.swf onto it. I hope that makes sense. So all the text is going to be on the screen with pix, etc, and we are going to have a VO speak the text. The VO will be on the text swf files since there is fading of pix, text, etc and we need it to match. With it almost done, the client wants a mute button added to the thing.

The question is, if the mute button is on every text swf file, is there some variable that I can pass that would keep the next text swf file from playing it's VO? The client doesn't want people to have to keep clicking the mute button with every page. I know, I know, if I knew they wanted a mute button, I never would have built it this way. It's going on the web, and I figured for loading purposes, this was the best way. Now I think Im screwed... Or rather, they are. They approved this. But can it be done? Can I pass a variable from either the root swf or the navs swf files that tells the incoming text swf files to stay muted?

View 5 Replies

ActionScript 3.0 :: Mute All Sounds?

Sep 16, 2008

anybody knows the AS to mute all sounds?

View 2 Replies

ActionScript 3.0 :: Mute All Sounds In A Swf Except For One?

Mar 31, 2010

To stop all sounds in a swf, I'm using the following code.
 
var transform1:SoundTransform=new SoundTransform();transform1.volume=0;flash.media.SoundMixer.soundTransform=transform1;

This mutes all sounds. Now there is an issue, I want to stop all sounds but one (i.e. "music.mp3").

View 1 Replies

ActionScript 2.0 :: Play FLV Mute All Other Sounds?

Jun 8, 2009

I have some background music playing on my website and when I click to play one of my FLV on the site I want to background music to mute. Also when the FLV is finish (complete) the background music back on.

how to do this, I'm a little rustly on this but know it is easy to do, seen it done many many times?

View 2 Replies

ActionScript 3.0 :: Mute All Sounds In A Swfs Except One?

Mar 31, 2010

To stop all sounds in a swf, I'm using the following [code]...

This mutes all sounds. Now there is an issue, I want to stop all sounds but one (i.e. "music.mp3").

View 3 Replies

Actionscript3 :: Flash - How To Mute Different Sounds

May 24, 2011

i want to have the music always playing and the ability to mute different parts. It is for a project where you click on different people and they come to life to play music. a stop and play would not have them in snyc. I have not been using action script long

var my_sound:Sound = new Sound();
my_sound.load(new URLRequest("triumphant.mp3" ) );
function setMute(vol){
var sTransform:SoundTransform = new SoundTransform(0);

[code]....

View 1 Replies

ActionScript 3.0 :: Mute Only Sounds / Music?

Jan 28, 2010

I am using the Sound class to play both music and sound in my game (.mp3). I am using the:

SoundMixer.soundTransform = new SoundTransform(0);

But, I will need something to mute only sound or only music, this would mute both.

View 1 Replies

ActionScript 3.0 :: Mute Only Sounds Or Music

Jan 28, 2010

I am using the Sound class to play both music and sound in my game (.mp3). I am using the:
SoundMixer.soundTransform = new SoundTransform(0);
But, I will need something to mute only sound or only music, this would mute both...

View 2 Replies

Actionscript 2.0 :: Mp3 Player - Keep The Mute State Unchanged When The Songs Are Playing Until The Mute Button Is Pressed Again

Feb 3, 2009

I've downloaded the the Flash mp3 Player. I did some minor modifications to it and it works well. The only problem I have is that when the mute button is pressed, the current song is mute(s.setVolume(0)), but when the next song comes up, the mute button is not in mute state(Volume not set to 0). I want to keep the mute state unchanged when the songs are playing untill the mute button is pressed again.

View 6 Replies

ActionScript 2.0 :: Captivate 4 Widget To Mute Sounds?

Jun 24, 2010

We do not use the playbar for our projects.. we use independent buttons.I struggled making a widget /button for Captivate 4 that would Mute/Unmute all sounds... In case you are struggling too... here is the code that worked for me:(you will need to know how to make a widget)

var soundOn:Boolean = true;
var globalSound = new Sound(_level0);
muteOffOn_btn.onRelease = function(){[code]....

View 0 Replies

Actionscript 3.0 :: Simple Method To Mute All Sounds

Mar 5, 2009

My flash application plays and streams lots of sounds at different and random times.it also has some loaded swf with sound...is there any simple method to mute all the sounds using as3.

View 2 Replies

ActionScript 2.0 :: Control - Mute All Sounds In A Whole Scene?

Sep 27, 2002

Is there a way to mute all sounds in a whole scene? I want to have a button that turns off all sounds and stops all sounds from playing until i press the button again. The button is done and there's a "set(gallerysound,1) instruction in it when first pressed, and then it changes to zero the second time around. But now I'm stuck. How do i use this var to control the sounds in other keyframes? (preventing the sounds from playing until gallerysound changes again) ?

View 7 Replies

Actionscript 3 :: CS5 Flash App Has Sounds When Run Locally But It's Mute When Run In A Server?

Oct 12, 2010

I'm making this small app in Flash CS5 using AS3. Sounds are being reproduced using flash.media.Sound and flash.media.SoundChannel. Locally , everything sound perfect, but when I run the game from a server it just goes mute.

View 1 Replies

ActionScript 2.0 :: Flash - Sounds MUTE On Page Navigate HTML?

Mar 24, 2012

I have just done couple of banners for Dettol with BG sound, now the client wants the sound to be stopped when he navigates away to a different web pageThe issue is Mouse-over the banner and press alt-tab. The music keeps playing and you can't stop it!Without mouse-over (music is playing at thispoint), press alt-tab and go to another application. Press alt-tab and comeback to the browser and the music starts playing, even though the mouse is not over the animation for reference

View 1 Replies

ActionScript 3.0 :: Mute Button Toggled To "mute" By Default?

Aug 5, 2010

So i have a flv playing on a flash load. I need the mute button toggled to "mute" by default.

Code:
my_FLVPlybk.muteButton = mutebtn;

that is the mute button instance i am using.

View 1 Replies

ActionScript 2.0 :: Use With Music Is Affecting All Other Sounds - Button Sounds And Background Sound

Apr 16, 2010

I followed the mp3player tutorial (part 3) from [URL] and got it working fine. Only problem is that the setVolume I'm trying to use with my music is affecting all my other sounds - button sounds and background sound. I'm aware of the createEmptyMovieClip/attachSound approach and got it working on my other sounds. But Lee's tutorial-mp3player is using a slight different technique, and so my normal approach doesn't quite work.

[Code]....

View 7 Replies

ActionScript 2.0 :: "Mute All Sounds" Script And Volume Bar?

Mar 25, 2006

getting the script that stops all running sounds in the flash movie?I want to make a button that when pressed all sounds will stop, and when pressed again all sounds play again.Also, I need to know how to make a volume bar to increase or decrease the sound volume. Can any one give me a simple way to do these 2 things?

View 5 Replies

ActionScript 3.0 :: Null Object Error When Adding Sounds

Jun 16, 2011

I'm creating a flash game with AS3 but I'm having some issues with sounds. Usually, when there is not much action around, sounds play just fine and all. But when it starts getting ugly with explosions everywhere and stuff, I start getting this every now and then[code]...

View 5 Replies

Create A Mute Button?

Feb 1, 2002

How to create a mute button in flash so that when its clicked all sounds are muted, however, when clicked again all sounds resume but without starting again from the beginning.

View 4 Replies

Fla That To Add A Mute / Unmute Button

Jan 10, 2011

something probably quite simple. fla that I need to add a mute/unmute button to. It would be even better if mute/unmute occured onmouseover, but no doubt this is a more complex question?

View 2 Replies

Mute Button Not Working?

Aug 9, 2009

This is a simple mute toggle button for an mp3 player.
 
I first var sound: Sound 
Then I have the function 
//mute the current sound
function muteSound ()

[Code]...

View 3 Replies

IDE :: Mp3 Fading Mute Button?

Aug 2, 2009

i have an mp3 that plays as background music to my website with a mute button that fades the music in or out. This works using the code below that i found on another site.My problem is i would like to have this music added to an external swf that i could load into my main site in order to decrease the main site file size. When i load swf however, the music doesnt play. the button appears (which is also in the external swf) so i know that the movie is loading but no sound plays.

some_sound = new Sound();
some_sound.attachSound("Kevin Spacey 16bit.mp3");
some_sound.start();

[code].....

View 1 Replies

ActionScript 3.0 :: Mute Button For Embedded FLV?

Dec 19, 2008

I need to create a mute button for an embedded FLV file.There is no separate sound file for me to control, so I'm unsure

View 3 Replies

ActionScript 3.0 :: Mute And Unmute Button?

Apr 10, 2009

I am wondering how to make a mute and unmute button is actionscript 3.0.  I did it before in actionscript 2.0 but not in 3.0. Here is my actionscript 2.0 code.
  
var sound = 1;
var slashMC = _root.attachMovie("slash","slash01",99);
slash01._visible = false;
slashMC._y = btn._y;
slashMC._x = btn._x;

[Code]...

View 14 Replies

ActionScript 1/2 :: Mute Button Is Not Working?

Oct 9, 2010

I tried using a form of "volume = 0" kind of code but one thing it doesn't mute is the sounds I have in buttons (or symbols). Those seem to continue playing even when the mute is active.So whats a form of code I could use to shut off all volume?If there isn't a solution then what can I do to mute symbol sounds?

View 1 Replies

ActionScript 2.0 :: Mute The Music With A Button?

Mar 9, 2011

I have some songs in the same folder as i have my .fla file. I call the .mp3 file on the first frame and i want to be able to pause it or stop it when i click on a button. I would appreciate the code for that. Or maybe any other suggestion on how i should add music to my .fla file.

View 9 Replies

ActionScript 2.0 :: Mute Button Not Working In Embedded SWF

May 19, 2010

The mute button code I have works perfect when the SWF is played itself, but when it is embedded in a wrapper SWF it no longer works. I know that it is the code that references _loc1. I have the root locked in the first frame of the embedded swf with this:

Code:
this._lockroot = true;

Here is the code in question. I just need to know how to change this code to make it work when this SWF is embedded in another SWF:

Code:
btn.onPress = function () {
var _loc1 = _root.snd.getVolume();
_root.snd.setVolume(Math.abs(_loc1 - 100));

[Code].....

View 1 Replies

ActionScript 3.0 :: Sync Mute Button And Volume Bar?

Oct 1, 2010

I'm creating a movie with an FLVPlayback component. I used the standard Play/Pause, Mute and Volume Bar components supplied with CS5.I have had no problem getting the individual components to work by themselves... the play/pause button plays or pauses, the mute button mutes, and the volume slider controls the volume. But how do I set the volume bar to 0 when the mute button is on, restore the original volume when the mute button is turned off, and turn on/off the mute button if the volume bar is dragged?

View 2 Replies







Copyrights 2005-15 www.BigResource.com, All rights reserved