Button Sounds
does anyone know how to make something like when you put your mouse over a picture it will play a song and when you take your mouse off the picture it will stop playing thanks
KirupaForum > Flash > Flash 8 (and earlier) > Flash MX 2004
Posted on: 09-02-2004, 10:08 PM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
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
Backgrounds Sounds Vs. Button Sounds
Hi!
I have tried browsing briefly through the forum, but failed locating anything similar to my issue.
I have a background music playing, and buttons that makes different noises when you roll over them. The issue is that I can't stop ONLY the buttonsound when you scroll away from the button.
The code looks like this:
------------------------------
on (press, release) {
gotoAndStop(215);
}
on (rollOut)
{stopAllSounds();}
------------------------------
I'm aware that it is the stopAllSounds that makes all sounds stop, the key is to make a code that stops only the button sound.
Cheers!
-David
Mute All Sounds Button / Resume Playing Sound Button
Hi there gang!
ok i dont know how exactly to do this..so i need some help, a fla file for this kinda thing would be super if you happen to have the solution.
Ive done about a 5 mins flash presentation with audio speak for that duration, the speak itself is cut up into about 36 seperate wav files on the timeline. ANyhow i would like a MUTE button that when click would mute the sound...BUT!
Important thing is that if the viewer decides to click it again at anytime and wants to hear the speak, it should resume from where you are currently going on the timeline..this is streaming speak which is in sync with animations.
I could use a Stop all sounds commmand but then thats not quite enough..would like to also have the option to resume speak and in sync from where you are currently..
The file is here and is almost done..exe file link:
http://www.beats.midnightsunrecordin..._LtY/LtY20.exe
Im in quite a hurry with this so if anyone has any comment please please..im crap with action script so an FLA for normal MX would be helpful..
many thanks!
cc
Mute Button Not Working For Button Rollover Sounds
I got my code for a mute button from the flashkit FAQ on sound,
and it seems to be muting everything but my rollovers. Anyone have any ideas?
it mutes the sound in all levels except for the buttons in _level0
and the button itself is in _level0 ?
code: // on main timeline
globalvolume = new Sound(); // no associated movie clip.
//button to mute sound and change toggle mc frames
on(release){
if(_root.globalvolume.getVolume() > 0){
_root.globalvolume.setVolume(0); // mutes all sound
play(); //switch to mute frame
} else {
_root.globalvolume.setVolume(100); // unmutes all sound
play(); //switch to unmute frame
}
}
thanks in advance for any input
Button Sounds
How do you make a button play a sound when you click and release on it. Can you attach a sound to a button?
Button Sounds ?
I want to go to a new scene on an invisible button rollover with a sound effect happening.
Presently I have my sounds placed in the scene timeline and am using a mute all sounds on rollout action to stop them.
I was wondering if it’s better to have placed the sound in the button symbol rather than the timeline?
Also I find certain sounds won’t stop playing when they are supposed to or will play on the wrong button. Should I make them MC’s with different instance names
Thanks
Button Sounds
How can I make a sound play when somone brings the cursor over a button, just beeping sound. Someone please help.
Button Sounds
I am trying to make a static sound when the someone brings the cursor over a button. I do not know how to make the sound be continuous untill the move it from the button and the sound stops when they do that. Help would be much appreciated. Thank you.
Button Sounds
Hi all,
I am working on getting sound added in for all of the buttons in my Flash portfolio and so far, I think I've gotten the sounds added to the Down State of 2 of the buttons ok. Only problem is that when you actually hit the button, the sound doesn't play immediately like I want it to.
Any help would be appreciated.
Button Sounds
ok this might be silly but......i got a mouse over sound on my button.....how do i make it not repeat the mouse over after i click on the button?
Button, Sounds And More...
hi guys,
i'm having a problem with a site i'm developing... i've got a 'music box' with standard on/off controls which works lovely... i have six buttons to navigate with complete with rollovers and noises.
The issue i'm having, is once the preloader's finished, everything starts up as normal and all my navigation worksfine. if, however i go back to the 'home' or 'contacts' pages the music restarts its self, and not all of the buttons appear to work.
I've tried searching for the obvious answers, but i can't seem to find any!
thaqnks in advance for your help...
steve
All Sounds Off/on Button
i have multiple sounds and need a general" all off/on toggle type button
given that my knowledge of action script is very limited....lets assume I know nothing....
Button Sounds
I have a sound loop that I have attached to a button on mouse over. I want the loop to continue playing as long as the mouse is still on the button. As it is now- it stops, then starts again when I put it back on the button. Pllleeeze help me!
Button Sounds
Hi. I am very new. Like, complete noob. Anyway, I built this file with a bunch of buttons, each one of which is meant to play a different sound when the cursor is over it. They also all link to different url's. The links work, but only one of the sounds will play. I will describe my entire process since I have given into frustration at actually dealing with malevolent program. thhbt.
for each button i imported an image. create new symbol, its a button, add the image, center it, add keyframes for all four states, for the over state tell it to play a certain sound in a certain way that i have imported. back to scene, insert the symbol where i want it, set the sound again for the button (possible problem/ unnecessary?), make sure button is selected, add actions movie-stop, add action go to url. create new layer, repeat for additional buttons.
the strange thing is that the first time i made this file the first button will make the appropriate sound, but now i can't get any to work. Thanks much to any help.
Does Anybody Know Where To Get Button Sounds Like These?
http://www.hypertemplates.com/templates/9108.html
Check out the button sound on this template, which is a nice, totally unobnoxious soft click. Where can I get sounds like this, preferably for free? Thanks, have an awesome new year!
Can't Put Sounds On A Button
I used to be able to do this in flash 5 by just adding the sound directly into the button, but now its not working. Am I doing something wrong or should the sound be playing?
Button Sounds
does anyone know how to make something like when you put your mouse over a picture it will play a song and when you take your mouse off the picture it will stop playing
thanks
Button Sounds
Hi
I was working on trying to get a button sound for my own site, and produced quite a few. I thought I'd share, so if anyone is after a subtle, electronic button sound, maybe you could check these out. There are 30 in the zip file (900k), all in wav format. If you want another format, I'd be happy to change it, or if you're after something different, I'm open to requests .
I think I settled on 27 for my site.
Download HERE.
Cheers.
(Not sure if this is the right place to post this, if not could an admin please move it. Thanks.)
Button Sounds
I am embedding a swf file so that it plays on a mouseover. It works fine- except when you mouseover, a new window opens, instead of the sound just playing. How do I just get the sound to play & thats it?
heres the page: http://www.y102country.com/centerCONTESTS2.htm
its the ugly pet button
Button Sounds NE 1?
Anyone know where I can get cool button sounds, except flashkit.com.
Or if anyone can tell me where I can get the button sound they use on this website http://www.unflux.com
Button Sounds
Hey does anybody know some good links I can go to to get some cool button sounds. And yes I did a google search (Electron Geek, Jubba and Lost in Beta)....But I could not find anything but cheesy ones. Any help appreciated.
Can't Put Sounds On A Button
I used to be able to do this in flash 5 by just adding the sound directly into the button, but now its not working. Am I doing something wrong or should the sound be playing?
Button Sounds
Hi
I was working on trying to get a button sound for my own site, and produced quite a few. I thought I'd share, so if anyone is after a subtle, electronic button sound, maybe you could check these out. There are 30 in the zip file (900k), all in wav format. If you want another format, I'd be happy to change it, or if you're after something different, I'm open to requests .
I think I settled on 27 for my site.
Download HERE.
Cheers.
(Not sure if this is the right place to post this, if not could an admin please move it. Thanks.)
Button Sounds ?
HI!
I have made many many buttons with event sound on mouse over but now something weird is happening.
Let say thay my sound is " Tip Tip Tip" But when I test my movie it only sounds like "tip" , BUT when I enable simple buttoms it sounds as it has to (tip tip tip)
Any idea why this may be happening?
Thanxs!
HELP: AS Button Sounds In MCs
on (rollOver) {
overSound = new Sound(this);
overSound.attachSound("b_on");
overSound.start(0, 1);
How do I control the volume?
Too Many Button Sounds
I'm using sound objects which get played when the user rolls over a a btn. The problem is when they roll over all the buttons quickly the sounds get out of control. I'd like to control each sound object through a function with a conditional statement like if sound is not playing then play sound. Is that the way most people control their button sounds? If there is a better method can someone post.
Random Sounds For Button
I have a problem....I'm not real good at action scripting yet I want to develop something that concerns scripting!?!?
I want a button, and when u click on it, it plays a random sound fx every time you hit the button...I'm talking about 3 different sounds or something...It doesn't matter in what order, but I never want it to play the same sound again when you click the button twice: It must be random...
If anyone would offer its help: PLEASE...you can reply here or email me @ eurosega@ignmail.com
Fading Out Sounds With A Button
hey i was wondering if there was any particular code to fade out sounds with the press of a button within the movie, also i was wondering if you can fade sound in once and then have it loop contiunesly at the normal sound volume...if someone can get back to me that would be great...
thanks
Button Sounds Part 2
Greetings,
I'm trying to have a sound play in the hit stage of a button in it's entirety before taking the user to the next web page. I was told to look into "sound.onSoundComplete" but I have no idea how to set that up. Here is the link....
http://www.nyadgirl.com
and I've attached one of the files I'd like to make this change on.
Thanks,
Dan
Attach Two Or Three Sounds To One Button
Is there a way to attach two or three sounds to one button?
would the code look like this?
song = new Sound();
song.attachSound("sound1.sound2");
song.start(0, 999);
Enable Button Sounds
I am creating a movie in Flash MX. My buttons navigate perfectly within my work area and from scene to scene. I applied sounds to the 'over' frame and the 'down' frame. When I hit Control>Enable simple buttons, the sounds work perfectly on the stage. But when I hit Control + Enter to preview... the button sounds are not working (but the buttons navigate perfectly). Also, when I go to File>Publish preview...the button sounds do not work there, but the buttons navigate around to where they are supposed to go. Is there an 'enable sounds option' that I'm missing? Thanks for your help.
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
Button Rollover Sounds
i have created buttons with sound when you rollover, but the problem is that if you take your mouse off of the button before the sound has finished, it cuts out abruptly and makes a small static sound. how can i set the buttons up where the sound will finish when someone rolls over the button? thanks.
Trouble With Button Sounds
For the navigation bar on my MC, I have the buttons move and beep while the mouse is "over" the button.
When I test my movie, the "movement" works fine, but the beep doesn't work. I've tried everything.
After I set the beep in the edit button area, while I mouse over in flash in the "edit in place" for the navigation MC, each button beeps with no problem. When I test the movie, it stops..
Anyone know what I'm doing wrong, and/or have any suggestions?
Any help is greatly appreciated.
Thanks in advance.
Button Audio Sounds
I have a button with a sound on it in the rollover state with the sync set to start. The up state sync is set to stop so that when you roll off the button all sounds stop. That works great. My question is, when you click on the button it makes a sound too. This creates a doubling effect on the audio because you have the rollover sound going and then if you click it sounds again. Is there a way to not have it sound off when you click? Right now I have these yes or no buttons and when you rollover and click on them they go "yes, yes" or "no, no" which sounds pretty dumb. Any thoughts?
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
Mute Button Sounds
I have a site with no music, just button roll overs some loading on muli different levels, what is going to be the best way to just mute all button sounds. Any help would be really helpfull. Thanks.
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!
Sound On/off Button For ALL Sounds
There must be a simple way to do this, or more likely a not-so-simple file that I could download and customize -- I can't figure out how to make a button that would allow users to turn off all the sounds in my Flash file. I can use "stop all sounds" but when another sound comes along down the timeline, it plays.
How Can You Mute Button Sounds?
Hello.
I have buttons in my movie that all have a sound on their over state. Is it possible to "turn off" the button's sounds? I can't think of a way to do it without disabling the buttons alltogether which would ruin the point of having them.
Thanks!
Controlling Button Sounds
Forgive me if this duplicates previous posts but I am have trouble with muting my button sounds. I have looked at other threads on this forum and tried various things like using onClipEvents and global sounds without success.
My current attempt goes off in a different direction and I feel like I'm going round in a big loop on this!!! Here's where I've got to (code shown for one of my buttons.) This is in a frame on my main timeline.
............................
ActionScript Code:
stop();
//create empty clip to hold sounds
createEmptyMovieClip("soundfx_mc", 10);
soundfx_mc.onLoad=function() {
//create Sound objects and attach sounds
btnOver=new Sound();
btnOver.attachSound("overmp3");
btnHit=new Sound();
btnHit.attachSound("hitmp3");
}
home_bt.onRollOver=function() {
btnOver.start();
};
home_bt.onRelease=function() {
btnHit.start ();
};
//mute button code
soundoff_bt.onRelease=function() {
unloadMovieNum(10);
}
.....................
Please help before I end up bald!
Overriding Ie's Button Sounds
I have created a sound of a camera taking a picture for a button... it works great except that you can still here the typical link 'click' when on IE. Does anyone know how to override that so that you can only hear my sound? If not, is there a way to turn up the volume on the sound file so that it's louder than the IE 'click'?
Thanks
Jules
Source For Button Sounds
Does anyone have a source for cool sounds for button noises. The offering of Flash 8 is rather bleak.
Button Sounds Site?
Can anyone share a good buttons sound site ? I recall something that had foo or fav err something really cool./ And way I need a site that has button sounds cause I sure as hell cant make any that sound cool.
HEEELP HELP Button Sounds?
Screaming for help seems to help. Sometimes anyway. Looking for a good source of button-click sounds, or the correct term for these so I can check google. Thanx!
What Script Do I Put On An Enable Sounds Button?
Hi,
I want to place a button on my site so that if people do not want to listen to the audio they can turn it off, this is easy there is a piece of script in the drop down menu to "stopAllsounds". i do not know however, what script to enter to turn the audio back on. I do not want all the audio to start playing all at once - just to be re-enabled so it will again play when activated.
Any advice would be appreciated.
|