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?
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 05-28-2008, 06:12 PM
View Complete Forum Thread with Replies
Sponsored Links:
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!
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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.
View Replies !
View Related
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
View Replies !
View Related
[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.
View Replies !
View Related
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
View Replies !
View Related
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...
View Replies !
View Related
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 ?
View Replies !
View Related
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 !!!!
View Replies !
View Related
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...
View Replies !
View Related
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
View Replies !
View Related
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!!!
View Replies !
View Related
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
View Replies !
View Related
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!!!
View Replies !
View Related
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?
View Replies !
View Related
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
View Replies !
View Related
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
View Replies !
View Related
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?
View Replies !
View Related
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!
View Replies !
View Related
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
View Replies !
View Related
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);
View Replies !
View Related
[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."
View Replies !
View Related
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 ...
View Replies !
View Related
Stop All Movieclips/sounds. How?
Hello!
I have a .fla that has lots of animations, which are divided in several movieclips through the timeline. Inside the movieclips, have sounds also.
What I need: how could I make a button in _root in a way that I could stop/play the entire movie, independently where the movieclipt the playhead is?
Because the movie has lots of movieclips, it is kind hard to istanciate each movieclip to give stop actions.
Also I need to stop all the sounds (I know with stopAllSounds, but if I want to continue from the stopped part?).
Thanks!
View Replies !
View Related
How Can I Stop Sounds In This Scenario
Hello, I need help.
I need to load in an external .swf file into my new movie and stop the sound/music that is playing from the external swf file. I need the sound/music to stop immediately on frame one. I don't have the fla to the external swf file as it is years old. Can someone help me with this? I know there is "stopallsounds();" but I don't think I'm using it right because it won't stop the sound when I play the new exported swf.
So to recap - I've loaded in a .swf on frame one (into a blank movie clip) - and on another layer tried to add the "stopallsounds();" action - music still plays - HELP!
View Replies !
View Related
Stop Overlapping Sounds
Hi,
I am fairly new to flash so please bare with me.
I have three buttons in my document each assigned to play a different mp3 song when the button is hit. The problem I am having is when one song is playing and another button is pressed, a second song starts play without the first ending. The songs are over lapping.
How do I assign each button to play its song when pressed, but to stop when a different button is pressed?
Please try and explain is basic terms as I am a newbie.
Many thanks
View Replies !
View Related
Stop Event Sounds
My client made me put my MP3 files inside the file, too complicated to have them in a separate folder for some reason. So I am creating a single EXE file for the client. I moved the MP3 files into the file on the timeline, with the WAV files already in place. When I jump around using the button, if the event sounds have started, they don't stop when I'm in a new section, with new audio. I have stopAllSounds(); on the button to jump around from section to section.... but it doesn't work. I switched to streaming sound, and the WAV files have clicking in them. I can't change the files from WAV to MP3 as the sound quality diminishes too much. How do you stop the Event sound from playing? Thanks for any help.
View Replies !
View Related
Want To Stop All Sounds And Start Them Up Too
Hi.
I have a flash website that is entirely based on videos. It loads and starts with an intro. Then a scene where a loop movie plays, and depending on which objects from the scene you press on a different videos start playing and then back to the scene.
The problem si that, as with all videos, the sound is incorporated into the different videos that load.
I want to stop or set the volume to zero by pressing on a button and to restore the sound by pressing again. How can i do that and have the sound stopped even if i load different movies all with their sound incorporated?
Thank you.
View Replies !
View Related
Stop Overlapping Sounds
I am making an interactive companion to a Spanish workbook for an instructor. One of the activities is to simply click on various words to hear them pronounced. Each page of the workbook that has these listening activities is a separate Flash file that is loaded into a container movie. Each Flash file contains the movie clips for the words on that page, plus some AS that assigns each movie clip to it's correct target sound (such as word1_mc._targetSound = new URLRequest("audio/vowels-a.mp3"); ).
I created a class file called ClickListen that turns on buttonMode and assigns an event listener to each word, which are movie clips with a base class of ClickListen. When the event (MOUSE_UP) is encountered, the target function plays the correct audio file associated with that movie clip.
It works, except the sounds overlap if a new word is clicked before the old finishes. How can I shut off the old sound to play the new one? I am assuming that each movie clip has a unique Sound object and SoundChannel object associated with it, since each movie clip is of the class ClickListen. Is there a better way to do this?
My ClickListen class is included below.
Attach Code
package
{
import flash.display.MovieClip;
import flash.events.MouseEvent;
import flash.media.*;
public class ClickListen extends MovieClip
{
private var sound:Sound;
public var soundChannel:SoundChannel = new SoundChannel();
public function ClickListen()
{
this.addEventListener(MouseEvent.MOUSE_UP, playSound);
this.buttonMode = true;
}
public function playSound(event:MouseEvent):void
{
sound = new Sound();
sound.load(event.currentTarget._targetSound);
soundChannel = sound.play();
}
}
}
View Replies !
View Related
Stop/Resume All Sounds?
Hello-
I am creating a site that will be loading in external swfs into a main container movie. What I am hoping to do, is to have an audio button that will allow the user to "Stop All Sounds" and then"resume" them whenever they like. I sucessfully have the button stopping all sounds, but I am not quite sure how to get the sound to turn back on and resume at its current location. Is there a resume/play equivalent to stopAllSounds();? Because that's essentially what I would like to do.
Thank you for any help you can give me, and have a wonderful day!
-Crystal
View Replies !
View Related
Stop Flash Sounds
Is there a way to stop flash sounds on the same page with a regular HTML link?
For example, a flash movie playing music at the top, and an HTML link to a popup window in another link - can I make the popup link stop the audio in the flash file.
View Replies !
View Related
Stop Multiple Sounds
I have just created a nice little audio bar in flash for my website enabling the user to select between 3 different sounds. However it cam to my attention when i was testing it that when i clicked a different sound the previous one did not stop thereby creating an awful racket. my question...how can prevent this so that no more than one sound is being played at once?
Regards
- Fred Vaux
View Replies !
View Related
All My Sounds Stop Playing
hello everyone.
I've got a sound loop playing in the background of my movie, and when i press a certain button, the sound fades out. Everything works fine, but when i press that button, all the other sounds in the movie (button sounds) stop. And they never play again until i turn the loop back on...
this is the code that loads my loop:
ActionScript Code:
s = new Sound( );
s.attachSound("pizz1");
s.setVolume(0);
s.start( 0 , 50000 );
it fades in and out using those code:
ActionScript Code:
s.setVolume(5);
s.setVolume(10);
s.setVolume(15);
etc...
and this is the code that loads my button sounds at the begining of the movie:
ActionScript Code:
var my_sound:Sound = new Sound(this);
my_sound.attachSound("sound1");
//
trans1.onRollOver = function() {
my_sound.start();
};
etc...
Does anyone know why it stops all my sounds?
thanks
View Replies !
View Related
Need A Stop All Sounds Alternative
Hi,
I've got a new problem
I have several buttons. Each points to two mc's, one for animation and one for music. They each start and stop when the button is clicked by having the mc's go to the next frame....
on (release) {
this.MC.nextFrame();
Problem is, when you have all three buttons set to on, and all three are playing an animations and a music mc, if you click any of the buttons again (off), ALL of their sounds stop and of course, only the animation for that particular button pressed is stopped.
This is because I used stop all sounds on the first key frame of each music mc. This works perfectly for each button alone, and I was glad to get that working, but I'm wondering what other way there can be or what else can I use besides 'stop all sounds' to get the sound in that particular clip to stop?
Thanks!
View Replies !
View Related
Stop All Sounds Alternative
So, I have several animated movie clips. I have buttons that get them started along with several corresponding sound mc's. Every clip can start and stop because of this code:
on (release) {
this.MCPiano.nextFrame();
}
on (release) {
this.mcpianosound.nextFrame();
}
Then, in the mc's I have four frames, one frame being a stop all sounds command to get the music to stop in each mc.
The problem is, when all four movies are playing and I use the stop all sounds command, they will not turn on again in any of the mc's. Is there a way to only affect the mc in that key frame and have it able to resume playing when its not on that key frame? Thanks.
View Replies !
View Related
|