Stop All Sounds Button
I've been flashing for about two months... so far I'm falling into it at a resonable rate My client wants music... no problem He wants a STOP MUSIC button... HUGE PROBLEM! I made a [simple] button (Flash 4) chose the DOWN button, added action STOP ALL SOUNDS It doesn't work (in flash, in dreamweaver, on the web...) Rebuilt it in my new Flash 5 NOW I CAN'T EVEN ADD THE ACTION ! ! ! Could someone please tell me what I'm missing here? Thanks a gig! a l a n
FlashKit > Flash Help > Flash Newbies
Posted on: 11-11-2003, 01:07 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Stop Sounds Button
I have flash 2004 and i making a sound board and i dont know how to make a stop all sounds button, but i would really like to make the space bar stop it if possible please help
Stop All Sounds Button
Hey there, i'm currently making a soundboard and i've done everything apart from have a stop all sounds button.
I'm not sure how to create one of these and what actionscript i need.
Could anyone please tell me what Symbol i need, Actionscript i need and where to apply it etc.
Thanks!
Start And Stop Sounds On ONE Button?
Hello all
I know how to make a button stop a sound, but can
anyone tell me how to make that same button start the sound again?
Much appreciated!
dg
Stop All Sounds Withing A Button
Im having some trouble here, I know its possible, but im doing soemthign wrong.
I've made a button and Im trying to stop these tracks I have playing. Since more than one may be playign at the time I want all the souds to stop. However, it says that I can't add the the Stop all Sounds action. What Am I doing wrong?
Thanks
Can I Make A Stop 'any Further' Sounds Button?
I've already used the 'stop all sounds' script to Stop a sound that's currently playing but I was hoping it would actually stop any further sounds (mouseovers / clicks) from being heard.
Any help would be greatly appreciated...
ta
Help - Mute Button Does Not Stop All Sounds. Why?
Hi.
I create a mute button with the intent of stopping all sounds. When I press it, it mutes the current sounds but not all subsuquent sounds. Question. Why?
My intentions are simple. CLick themute button and all sounds present and future mutes. I press it again it should unmute.
Anyone advice and feedback would be appreciated.
Thank you.
The test can be viewed here: www.develop4u.com/temp/shieldBlack_v1test.html
How To Stop Button Sounds Overlapping? PLEASE HELP :(
I have 4 buttons playing music loops. The sound clips have been dragged into the down frames of the buttons, no actionscript.
The problem I have is that if one sound is triggered on one button, then another button is clicked the sounds overlap. What I'd like is for the second button to simply cut off the sound of the first.
I've been googling all this morning, trying to work this out, with little luck. I'm aware this can be done using sound object, but tbh I am a real Actionscript n00b and most of the script I'm finding on websites is out of context and I get error messages when I use it and export my movie.
The only code I currently have attached to this button is:
on (press)
{
gotoAndPlay(2);
}
I'm using Flash MX 2004, V7.
If anyone can offer help here, I'd really appreciate it. I'm pretty frustrated!
Stop Sounds Across Multiple Scenes Using One Button
Hi all,
I have a main file with multiple scenes, each of these scenes loads an external swf which has a voice over in it.
Now, each scene has the same sound control button, but what I want to happen is that no matter which scene the button is pressed, it will stop the current sound and when the movie proceeds to the next scene the loaded swf voice over will not play.
Same goes for restarting the sound when the button is pressed again.
Any help would really be appreciated.
Craig
SIMPLEST Way To Stop Sounds On Button Rollout
I need to know if anyone can tell me the SIMPLEST way to stop mouse over button sounds on rollout. I have tried to figure it out myself but obviously I'm a complete dummy and haven't been able to get my sound objects defined right or something. Any help would be appreciated. I've been using this tutorial and I just can't get it to work. http://www.aspirin99.com/tutorials/sound/
Need 1 Button To Stop All Sounds In Movie Clips How Can It Be Done
Hi everyone, I have a site that has a few movie clips in it that are animated. They have sound in them too. Now the question is how do i create 1 button that will make all of those sounds that are in seperate movie clips stop? I have tried to rig something up but all my ideas seem to fail. If anyone could help me out I would appreciate it.
Thanks
Frank
Toggle Button Mutes (not Stop) All Sounds
Could someone direct me to a post (or explain) how I might be able to Toggle On/Off the muting of every sound playing in my .Swf?
I have several streaming sounds I don't want to (stop), just (mute).
Thanks in advance-
Forrest
Stop All Sounds And Start Another Sound By Clicking A Button
I am working with Flash 5 and I have a problem like this:
I have several buttons in one page, when clicking each button you get a sound (long), I set the sound on the down phase of the button and set it to "start".
The problem is that when I click one button, and then immediately another button, I hear the sounds of both buttons together.
How can I make it, so that when clicking on the button, the sound that is playing will stop, and the new sounds will start.
Thanks you very much, Efrat.
Stop All Sounds = Play All Sounds
Ok, I'm pulling my hair out
I have 3 movies Layered togehter.
1- Sound file with someone speaking
2- Index moive that loads the Sound file
3- Sound On/Off button
On the Sound On/off moive I would like the button to stop all sounds and then continue playing the same sounds when clicked one again. (Basically pick up where the animation currenlty is.)
Attached is what I have been currently trying. I stops the sounds, but dose not continue to play when - click to start the sound again.
What gives GGGGRRRRRRRRRRRRRRRRRRRRRRRR!
Play Sounds After Stop All Sounds
Dear all,
I have a question which I hope someone can answer: my flash animation starts immediately when a visitor comes to the page. I have a stop button which stops the animation and the sound which comes with it (speaker voice). A play button plays the animation after the stop button was pressed. But the play button only plays the animation, not the speaker voice. How do I do this? I want the sound to start were it was stopped, just like the animation.
I'm using Flash mx 2004, version 7.2
Thanks in advance for your replies
/Bo from Sweden
Stop All Sounds And Start All Sounds
I have one button with the "stopAllSounds" actionscript on it. what would the actionscript be if I want to use the same button to start the sound again?
Stop Sounds When Stop Film
Hi. When I open my flash movie in the Flash Player (I have MX) and play it, it works fine. But if I make a breake (stop the playback), the film stops, but the sound still goes on. I have seen animations where sounds and the movie stop if I stop the film. How can I do it. Thx, leu
How Do I Disable All Sounds Including Background Music And Button Rollover Sounds?
Hey, you don't know how long I've been on this forum last night and no one was able to help me with this. I have no clue how to do this. Basically what I want to do is create a site with a bunch of buttons with a Over State Sounds and a Down State Sounds. I have done so already with the file I have been working on at home. Now, I also have background music playing on my flash site. I already have a button that says, turn off music which is using the stop all sounds command. But now, I want a button that disables all the sounds on the whole entire site including background music and button over and down state sounds. I have tried the stop all sounds action but that DOES NOT WORK. Another action that I tired was the globalsound action where it puts the volume to 0, but all that does is stop the background music. It doesn't kill the button over and down state sounds. So what action script would I need in this case? I have been looking for this action scrpt for hours on end and havn't had any luck with anything.
Please help.
Thank You.
Chris
Disable Background Sounds And Button Over And Down State Sounds With An Action? How?
Hey, you don't know how long I've been on this forum last night and no one was able to help me with this. I have no clue how to do this. Basically what I want to do is create a site with a bunch of buttons with a Over State Sounds and a Down State Sounds. I have done so already with the file I have been working on at home. Now, I also have background music playing on my flash site. I already have a button that says, turn off music which is using the stop all sounds command. But now, I want a button that disables all the sounds on the whole entire site including background music and button over and down state sounds. I have tried the stop all sounds action but that DOES NOT WORK. Another action that I tired was the globalsound action where it puts the volume to 0, but all that does is stop the background music. It doesn't kill the button over and down state sounds. So what action script would I need in this case? I have been looking for this action scrpt for hours on end and havn't had any luck with anything.
Please help.
Thank You.
Chris
Stop All Sounds
HI
I'm trying to set a button to stop the .wav file and also on release open java pop up window but I cant get the sound to stop playing most annoying
any help would be appreciated
and check out
http://board.flashkit.com/board/show...hreadid=210807
Stop All Sounds *&#%
okay,
I have two flash files in two seperate frames. One plays a music file, and has an OFF switch. I have a narration file in a seperate main content frame, and if I go to shut the music off, it is also shutting off my narration, which I do not want it to do. Is there a way to target a specific sound to "stop all sounds", but not effect my narration?
Mike
Stop All Sounds?
I inserted a button to stop all sounds BUT it doesn't stop sounds that had been loaded into empty movie clips...how would I do this?
Case
How 2 Stop All Sounds?
hello everybody,
i'm really new at this forum
an d i have a question!! ;-)
i made an animation, where there are 6 squares who flies from right to left.
i creat for every single square a MC and in the MC the sound is always on a layer at its own.
and now i wanted that the little "off/on" button could turn the sounds off and after that be able also to turn again on, ofcourse!
but i don't get it!!!!!!!!
i would really apreciate if someone could help me out
jorge
Stop All Sounds?
It's always bugged me - how do you STOP all sounds? Say I have a music loop in the background, and it loops forever untill you go to the next scene. I want the music loop (and any other sounds playing at that moment) to stop completely as the next scene comes up.
Thanks
Stop All Sounds
I need to load a swf file into another file and kill the music that is playing in the loaded swf file. ( We don't have the original FLA or I would just delete the music out of it and republish ).
I have have tried to use load movie with stop all sounds but that isn't working for me. Any ideas?
Thanks.
Stop Sounds
Im having problem with sounds everytime I load another movie, the sound of the 1st movie continues to play? I tried using "stop all sounds" action on the last frame of the 1st movie but it still doesnt work... Hope you can help me! thanks
Stop Sounds
How do I stop a sound within a movie clip in a certain scene?
MaxHeight
[MX] Sounds All Stop
When I try to stop a sound with actionScript, instead of stopping just the one sound, it stops all of my noises. I am publishing in flash 6. Actionscript 2.0.
Here is an example of my code:
Code:
stop();
//upon entering the scene, this will start the shower.
if(showerOn == 1 && waterOn == 1){
showerWater.gotoAndPlay(6);
shower.start(0, 5000);
waterMask._x = 53;
waterMask._y = 85;
}
//upon entering the scene, this turns on the sink
if((sinkOn == 1) && (waterOn == 1)){
sink.water._visible = true
waterNoise.start();
}else if(!((sinkOn == 1) && (waterOn == 1))){
sink.water._visible = false
}
//this turns the shower on and off if a button is pressed
tubWater.onPress = function(){
if(showerOn == 0 && waterOn == 1){
infoText = "You turn on the shower.";
showerWater.gotoAndPlay(2);
shower.start(0, 5000);
waterMask._x = 53;
waterMask._y = 85;
showerOn = 1;
}else if(showerOn == 1 && waterOn == 1){
infoText = "You turn off the shower.";
shower.stop();
if(sinkOn == 1){
waterNoise.start(0, 5000);
}
showerWater.gotoAndPlay(21);
waterMask._x = 0;
showerOn = 0;
}else if(waterOn == 0){
infoText = "you turn the knobs but nothing comes out.";
}
};
//this turns the sink on/off if a button is pressed
sinkHit.onPress = function(){
if((sinkOn == 0) && (waterOn == 1)){
infoText = "You turn the sink on.";
_global.sinkOn = 1;
sink.water._visible = true
waterNoise.start(0, 5000);
} else if((sinkOn == 1) && (waterOn == 1)){
infoText = "You turn the sink off.";
sink.water._visible = false
waterNoise.stop();
_global.sinkOn = 0;
if(showerOn == 1){
shower.start(0, 5000);
}
} else if(waterOn == 0){
infoText = "You turn the knobs but no water comes out.";
}
};
The problem is, when one sound stops, ALL of the sounds in the movie stop.
[F8] How Can I Stop All Sounds Except One?
i have 7 buttons in a scene
when the mouse moves over the button a sound play
but when i move fast from one button to another the sounds overlaps
how can i stop the last sound?
Stop Other Sounds?
I have eight buttons. Each button plays a different sound.
If the sound is playing from button1 & I press button2 the sound from button2 plays over the first sound.
How do I get it so that when I press button2 the sounds from all the other buttons stops & ONLY the sound from button2 plays?
Please help
Stop All Sounds
I have a complex situation..
I 'm working in a flash website and I used a background music that runs while the flash file is playing, I used action script codes to run this music. Also, I used some simple sounds that plays when the user move his mouse over a button or some items, but I imported these sounds to its frames directly and I didn't use action script to run it.
The problem is that I want to make a "MUTE" button to stop all sounds, but the background music only stopped because it was runned through Action Script, other buttons will produce the same sounds when moving the mouse over them!!
Does anybody have an action script code to mute all sounds even if they were imported to frames directly??
Waiting replies...
Stop All Sounds
after applying my_movie_clip.stop(); it stops the animation, but not the sound that is playing "inside" the movieclip.
the sound is an mp3 file that I set up to work as an event based style.
How do i stop the sound ?
Stop All Sounds Except
Is there a way to use the stopallsounds command with an exception? I want to stop all narrations (in a presentation) when a button is clicked but keep the background music going. So i want to stopallsounds except the background sound. any ideas?
Stop ALL Sounds
does anyone know how to get rid of all sounds in a flash movie? I mean all sounds, including button sounds. I know the stopallsounds script only works on currently playing audio, so it doesn't work for say rollover sounds which aren't constantly playing. Thanks for any help....
ps. check out my site... still under construction << www.rit.edu/~tmb7999
- big thanks to nexo !!!!
Making A Stop Button, Or Telling A Button To Stop A Streaming Video
Hello,
I've searched the forums and tried to find an answer to this question, but most of the posts go unanswered or are way beyond my understanding.
I'm using a form based application in Flash professional 8.
I have a .flv video of a movie trailer that I created from Quicktime. I intend to stream this video.
I also have a button called "Trailer". When I click on the "Trailer" button, I see the .flv video I created along with the play/pause control skin that I added in the import video wizard. I press the play/pause button, and the movie plays.
This is as I had expected it to be.
Now, when I want to go to something different, for example clicking a "Photos" button that displays a slideshow, the video continues to play.
Is there a way I can tell the "Photos" button to stop the streaming video?
I've searched the forums, and found a few answers, but I don't really understand them. I added them to the script of the "Photos" button anyways to see if they did anything, and every time the video still kept playing.
Here's what I've tried so far:
------------------------------------------
button.onPress = function (){
player_mc.clearVideo();
}
Where player_mc is the instance name.
-------------------------------------------
Adding a stop component, but this isn't really what I want. I'd like the "Photos" button to stop the movie without the user having to hit a separate stop button.
-------------------------------------------
.stop() and ._visible=false;
I don't really understand this.
-------------------------------------------
removeMovieClip("component_mc");
-------------------------------------------
instance.stop()
From what I understand this is only for adding to a keyframe to stop a movie that's looping, and not for what I would like to do. Is that correct?
-------------------------------------------
I would greatly appreciate any help, not only just for me, but for any other newbie who may run into this problem.
Thanks!
How Play Žn Stop Several Sounds?
i want to play/stop several sounds with a button+dropdown menue.
i just know the "stop all sounds" etc... - method but there has to be a way how i can control all sounds by selecting them seperatly...?!
how can i do that?!
How Do I Stop All Sounds And Turn On Again Later?
hy!
i've a big problem and need help urgently.
i have a main movie and i load another movie (a movie with a navigation-menu for my flash-webpage) into this main one.
now i need a botton which can turn all sounds (including the sounds of all movies which are loaded with the loadmovie-action) off and later on again (it would be no problem, if two bottoms are necessary to solve my problem...).
does anybody now, a solution?
thank you for your help!!!
mike
ps: i don`t know anything about actionscript, so i would prefer a way with "normal" actions, if there's a possibility to solve my probleme in a simple way...
Start/stop Sounds
Hi all,
how can i stop/start the sounds in the buttons by assigning action to another button?
thanks''2
Stop Sounds Before They Start
Is there away to stop sounds being played without them actually currently playing - I've got a game with staggered sfx's which play at different times I wanted a mute button which user can press and mutes sounds currently playing a subsequently - is it possible without writing a handler for every sfx and a load of if statements?
because stopAllSounds() and Sound.stop("current tune") only stop current tune/sfx playing
cheers in advance
Stop All Sounds? No Function
hi,
i want to stop all my sound.
i dont know what i am makeing wrong...
at the front timeline (scene one) i maked these:
effekt = new Sound();
effekt.attachSound("sound02");
effekt.setVolume(100);
effekt.setPan(0);
but the sounds are normal in an other movieclip, so have i write something like this? :
_root.stopsound_mc.effekt = new Sound();
_root.stopsound_mc.effekt.attachSound("sound02");
however the "stopallsounds" is a movieclip with a button in it, so should i say
stopAllSounds();
or better this:
_root.effekt.stop();
please help!!!
Stop Sounds In Buttons
How to make a sound that its in a button in the "over" stop when in another button another "over" sound its played
Stop Already Loaded Sounds?
Hi there, I have a tricky question in regard to using the sound object for loading mp3's dynamically. What I have is a movie which uses lots of different mp3's. The mp3's are loaded via mouse events in runtime using loadSound(). I have read that mp3's are cached when there loaded, so I dont want flash to keep reloading the sounds if they have been already loaded previously from an earlier mouse event. Have I lost you yet?
Anyway I was thinking that I could create a sound object for the first the time a particular sound is loaded and store that sound object in an array for later use, ie when that sound needs to be used again call that object.
Does that sound right? Does anyone have any examples or better ways of doing this....anything appreciated
Stop Sound. But PLEASE NOT ALL Sounds ?
I've got one html-frame with a few buttons in a movie with a mouseover sound.
I putted a -stop all sounds- because when I mouseover a button and then go to the other button I want the first button sound to stop. Works great.
Now the problem.
At the same time in another html-frame there's a movie with sound playing BUT when I go over one of the buttons in the movie of the other html-frame the sound of the movie stops as well.
What do I need to use insteat of -stop all sounds-?
THANKS!!!
Stop/start Sounds
i put a "stop sounds" command on a button which opens a pop-up window and i was wondering if anyone knows a way to have the sound start back up
when the parent window is clicked on?
Stop All Sounds Code?
I'm creating an animation with sound and want a button that stops all sounds and clicked again starts all sounds. Does anyone know the code for this?
I'm using Flash MX.
Thanks.
Jeff
Stop All Sounds Function?
I have a flash file in which I have a button that opens a pop up. The pop up has it's own audio.
What I wanted to know is, how would I code the button to not only open this HTML pop up page, but also stop all sounds in the flash at the same time?
Stop All Sounds Not Stopping
hey there; quick question.
have 2 movies in flash 8 connected by a button. On the button i've placed a stop all sounds to kill the vo so as not to interfere with the next movie's vo- done this hundreds of times, no problem, until today, (movies are both loaded to same level so one kills out the other).
Yes, when button is pressed it does kill the VO, but a little ways on, i have a SFX and this SFX keeps playing into the next movie where i don't want it too. (even when i put a stop all sounds on the first frame of the second movie! I can't make the damn thing shut up!
So does Stop all sounds really stop all sounds OR JUST THE ONES PLAYING AT THAT MOMENT the button is pushed and said script activated?
any help?
Hoss
Stop All Sounds... On Every Page
I'm using the following code, and then when the user clicks a button it stops all sounds. But when they go to the next page they have to do it all over again for each page they encounter, otherwise it has sound.
Anyone have any recommendations on how to get it to stop and then stay soundless on the rest of the PHP pages?
//Load Streaming mp3 behavior
if(_global.Behaviors == null)_global.Behaviors = {};
if(_global.Behaviors.Sound == null)_global.Behaviors.Sound = {};
if(typeof this.createEmptyMovieClip == 'undefined'){
this._parent.createEmptyMovieClip('BS_band',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.band = new Sound(this._parent.BS_band);
} else {
this.createEmptyMovieClip('_band_',new Date().getTime()-(Math.floor((new Date().getTime()) /10000)*10000) );
_global.Behaviors.Sound.band = new Sound(this.BS_band);
}
_global.Behaviors.Sound.band.loadSound("band.mp3", true);
[AS2 On CS3] Script To Stop All Sounds
In the ( not so good) course book I'm using to learn AS2, it said that Sound.stop(); is used to stop the sound module ie: stop all the sounds in all the layers in all the movie clips.
I tried it in a AS2 file in CS3 and got this error message "The property being referenced does not have the static attribute."
Stop All Sounds On Roll Out ?
Hi guys im new here ,,
forgive me 4 my poor english language cuz im an Arabic ..
i just want 2 ask u guys about this !!
http://www.riffavip.com/up/uploads/c8eb6fec12.jpg
if u cant see the pic press here : http://www.actionscript.org/forums/a...1&d=1153513638
this picture is from Macromedia Flash MX 6
how can i find these options in Macromedia Flash MX 2004 ??? i just download it & im lost !! its actions r totally diffrent !!
or action scripts 4 buttons. thats when i move the mouse away from the flash (SWF) the sounds stops and when i roll it over it begins again!!
also can you help me 2 find more actions script for texts?? i have difficulty to search in english ,,
thanx ...
|