Help With Sounds In Buttons
i've inserted sounds on a button and it is working but i want to get rid of the overlapping of the sounds....if i put the arrow over the first button and when i'll put the arrow over the other button i would want the sound from the button1 to stop playing already....
i've attached the flash file....
FlashKit > Flash Help > Flash Newbies
Posted on: 10-24-2004, 10:43 AM
View Complete Forum Thread with Replies
See Related Forum Messages: Follow the Links Below to View Complete Thread
Sounds With Buttons
I've a movie clip, that has a sound. I know how "stop all sounds" using a button, stopping that with the all the actions, but I don't know how make the sound came back to play again from the point that it have stopped. I know how continue the actions, but how can I do it with the sounds?
Sounds And Buttons
could anyone explain to me how to play sounds upon the click of a button in a flash movie?
when my movie starts, a sound loop plays. i want to be able to add 2 or 3 more loops and have them play seperately each time a user clicks a specified button.
how do i do this?
Buttons And Sounds...
ok...how do i use buttons to control a sound...say if i wanted to play 1 song, but if the veiwer wanted to stop the song, or pause it...so on...how would you do so?
Sounds For Buttons
OK, I know there are some great sounds and loops here. Can anyone suggest other places to get free sounds.
thanks!
Sounds With Buttons
I'm trying to set up this button to play the sound I've assigned to it and then
get url. The sound get's cut in half when it's played. I'm looking for a way to play the entire sound and then the new url comes in. Here's the link...
http://www.nyadgirl.com
If you go to any of the buttons go to the next page there will be a home button with a doorbell sound attached to it. I get the ding part but the dong part gets cut.
Thanks,
Megadan
Sounds On Buttons
Hello,
I have put a movie clip of a sound in the down frame of my buttons. unfortunatley, it only works if you hold the button down for a split second, if you click it very quickly, the sound doesn't work. How can I guarentee that it will always work?
Buttons With Sounds-how Do U Do This
can someone please tell me how to make a button with sounds/music or whatever in it, i know how to make a basic button,but i dont know how to add sounds to it. can someone PLEASE help me if you all dont mind!!!!!confused:
Sounds And Buttons
Hi all,
I have a button in my movie, which when clicked launches a pop-up window - at the moment, I have set the button symbol up with two sounds, one plays when the button is moused over, the other when the button is clicked...
What I want to know, is how can I get the pop-up to open ONLY when the mouse down sound has been played - I know I should be looking to use the onSoundComplete facility - but am unsure how to get this to work - does anyonbe out there have any ideas or suggestions on this?
Buttons And Sounds...
Ive designed a very kewl type of juke/boom box in Photoshop. Now Im going to use this in flash and want to make it work. Now Ive work with sounds and buttons a bit but never really got a good understanding of why what I was doing worked. Or it was explained in a way that it mine as well have been chinese(I dont read chinese).
Any information on buttons and sound files from the very basic to advance would really be apreciated
Also any information on having two things happen when one button is pushed,as in push play button and song plays but also speakers start to thump. Would be great.
I realize this is going to be a tuff task for me but Im really trying to push my limits as of late and really learn new things.Specially with cross platforms of design tools.
I really apreciate any help that is given, thanks everyone.
Ill make sure to show my final result here.
Using Sounds With Buttons
Hi there .. .I hope someone can answer this .. I put a sound clip on a button on the over stage in a banner so that when you roll over the banner the sound clip plays.
What I want to do is that when you roll out of the banner .. I woul like for the sound clip to stop.
Any idea how to do this ?
Thanks in advance.
Buttons Sounds
Hi,
I have five buttons on my flash site and they all make the same sound when u put the mouse over them. I did this by draging a small mpeg sound onto the OVER frame of each button.
Does this slow down my site and is there a better way to do this??
Thanx
Dimitri
Buttons Sounds
hi all this is my prbleme i have about 26 buttons ( alphbet of the English language ) that i want to asign 26 sounds to, i duplacted the button , could not asign the sounds to the button so on you press button2 ti plays sound2, help most needed please
Sounds In Buttons
Hi, how can I add sounds to my buttons? (when rolling your mouse over it and when clicking it)
Thanks in advance
Sounds On Buttons
bear with me i am new to all this and just trying to learn slowly. I know this maybe basic but can anyone give me some pointers in the right direction and tell me how i can put sounds to nav buttons? is this incorporated into the States of the buttons on up and down......i just want to put a simple click sound on them.
is it hard can anyone guide a clueless guy like me?
Sounds On Buttons
hi
I have here in my animation several buttons, and IŽd like to add the same sound to all of them. I have to do it manualy or thereŽs another way to do this?
How do I do in a way to same bytes?
thanks
How Different Buttons Can Have Different Sounds?
Hi,
New to Flash, not to programming. I am trying to figure out how to add different sound effects to different instances of the same button.
I can easily add several instances of a button to the stage but I have to go into 'edit' mode to add the sound to the 'down' keyframe which makes every button take on the same effect.
I tried duplicating an existing symbol and dragging an instance of it to the stage but it behaves the same way.
I've searched these forums and my help section but I haven't seen anything about this. Any suggestions?
Thanks
Dynamic Sounds On Buttons...
Hello all! I've got a question for you guys...First off, I'm trying very hard to learn ActionScripting! Getting there, slowly but surely.. Here's my question: I would like to have a set of buttons that when each button is rolled over play a sound, BUT if you rolled over the button it would play one sound, if you rolled over it again it would play another, like a set of tunes. This could happen for all the buttons...ex: if you have 5 buttons rolling over all of them would create a pleasant tune..no matter how you roll over them, get it? Kinda hard for me to explain. Here is a site that does that http://www.estudio.com Click on the top button "the firm" then on "people" then roll the mouse over the bottom buttons, you'll get the idea! Any ideas or links that could help me out?? Thanks in advance!
- Sigma
[Edited by Sigma on 07-17-2001 at 11:51 AM]
Adding Sounds To Buttons
Hi, I've just added a sound to some buttons which plays on rollover okay - the only thing is that the sound usually plays twice - only if I roll over from bottom to top does it just play once as it should be. Anyone an expert on adding sound to buttons? I'm using Flash 4.
Thanks.
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
Progressive Sounds For Buttons
how do I have the sounds of buttons progressively change in a loop like estudio.com does? This would be great so as to have them in a chord like that while my background loop plays.
Mark
www.markschonfeld.com (UNDER CONSTRUCTION)
Stopping Sounds On Buttons
Hi all,
yups I'm new to the forum and not very advanced in the art of flash.
I've started on a flash project - www.noahs.dk/suede.html - and have run into a problem :
how do I stop the sounds on the buttons playing multiple times when the mouse is passed over them...
ideally i'd like the sound on the button to stop and restart if a mouseover occurs before the end of the sound file and if a new button gets a mouseover.
thanks in advance.
Problems With Sounds And Buttons
I'm making a flash jukebox. Everything works, I click play and the song plays.
However if you click play again, when the song is done, or click another play button for another song nothing happens. I can only play any song once and that's it.
The code I am using is:
PHP Code:
on (press) {
if (playing!=true) {
_root.song1.start();
playing=true;
}
}
Naturally each button uses the same code except it goes song2, song3, etc.
What am I missing?
Also to make my buttons I had just typed out text and converted it to a button. However when I play the swf my clickable area isn't nearly as big as the text box. It's literally like the last row of pixels of the text box. No one could really ever guess that and even if I keep this for something just used on my computer it would be a real hassle.
What have I done wrong or can't you use text to create a button?
Thanks in advance.
Add Sounds To Component Buttons
I need to create a rollover sound for several component buttons.
I've tried the following: I added instance "home" to the home button, and in the frame in which the button is located, I added
Code:
s = new Sound();
s.attachSound("C4.mp3");
home.onRollOver = function() {
s.start();
};
The mp3 file in the library is called C4.mp3. Is this correct? When I test the movie, it does not work.
Buttons With Multiple Sounds
Flash 5: I have a button. I have 3 sounds that I would like to be randomly played when that button is clicked on. Is there a script or even an easier way to do this? In other words, I have 3 different sounds that I would like to be played when the button is clicked, seperatelt of course. Any suggestions?
Linking Sounds To Buttons?
Can I link sounds to buttons via action script so I don't have to go though the timeline. I want to load specific sounds to different buttons on demand. Where do I start, and please be gentle, my action script knowlegde is very basic!
Thanks
Using Buttons To Loop Specific Sounds
Ok I have been using flash 4, I recently got flash 5, and am having a hum dinger of a time getting used to the new code and interface. The question is
I want a couple of buttons to play ambience loops for my site.
I am not sure of the best way to do this. Should I try to set up some sort of script that will loop the sounds indefinitely till the user presses a button or the stop button.
If this is possible how do i accomplish this
Or should I set up the loops in different frames and have the buttons point to them.
OOOOOORRRRR should I try to use tell target and have the sounds in a MC (it seems they changed the tell target thing. So how do I do that)
Please help a confused flash head
much love
ded
Sounds/Multiple Buttons (easy?)
How do I stop multiple sound buttons from overlapping
Each button has a different sound
I inserted each sound in the down state of each button
How do I prevent several sounds from playing at once?
Thanx -Mel
http://www.med.wayne.edu/gradprog/vi...rtualtour.html
sounds are at the bottom of the page
(soundbytes)
click on two buttons at once and get the tower of babel
[Edited by Mwencel on 10-22-2001 at 12:36 PM]
Sounds And Movie Clips And Buttons, Help.
Hello all,
This is what I'm trying to do.
I have a main file. I'll have five buttons which each represent a song.
This is what I want to happen:
When you click a button (say "Track 1") I want the song to start playing, and when the music starts to play an animation sequence begins. The animation is basically an animated symbol laid underneath a Movie-Clip.
When you click the same button again ("Track 1") I want the music and animation to stop.
Now. It would be nice if, while you were playing "Track 1" you decided to click on "Track 2" that the sound from "Track 1" would stop and "Track 2" would start (sound, animation, etc. each track has different animation).
The way I had it, you had to click "Track 1" again to make it stop, before you could get "Track 2" to play (I was using "goto" commands, like on release goto frame 5, on release goto frame 1. etc)
It would be great if there were a way to allow the user to jump between each button and start/stop the sounds at their leisure.
I've poured over tutorials here, but am still having problems.
I attempted the "music on/off" movie clip (where you create a two frame movie clip, two instances of the button, etc.) but I couldn't assign an action to that movie clip that would associate it with all the animation that is 'sposed to start when it's clicked (whenever I did associate action, the MC ceased to be anything but a graphic)
Thanks for any and all help!
AX-1
Help - Problem With Multiple Sounds W/buttons
hi....
im making a page with multiple buttons on the page and each one has a distinctive sound that comes out of it when pressed and different graphics on the roll over. My problem is when you press multiple buttons at the same time it doesnt cut the other sound off. whatever buttons you press they will play at the same time and not cut the other one off. Please help if anyone knows what to do about this. THANK YOU
Scott
the_dook@iamwasted.com
Sounds And Buttons... Easy Question
i know it's a dumb question but... how can i make that when you release a button, a sound in my library plays... hehehe i know it's dumb but i can't find the actionscript.... sorry but im really confused
Buttons Playing Multiple Sounds?
Hi everyone, I am pretty new to all of this, but here is what I am trying to do. I want a single button to play a different sound file each time it is pressed, and then start back over again. So if I have three sounds, the first button press plays sound one, second press sound two, third press sound three, fourth press sound one again etc.
I am sure that this is probably easier than I am making it, but I just can't seem to figure a way to do this. If anyone has any ideas I would be most happy.
Thanks, John
Rollover Sounds In Component Buttons
How do you make a sound play when you roll over a component button? Obviously, the component buttons do not have the same behaviors as regular buttons.
I maintain the site http://www.wolfband.org. The buttons that I want to add sound to appear on the left side of the screen.
Thanks for any help in advance.
Assigning Keys To Sounds/Buttons
I have buttons in Flash that each play a different sound, but I want to set it up so I can assign a key to each button.**For example, I press "w" on the keyboard, and it plays the "whistle" sound.**I am completely Flash retarded, so detailed explanations please.**Thanks ahead of time!
*- John
Adding Sounds To Buttons In Flash
Help please. I followed the tutorial on the site and using the included image file, it worked beautifully (didn't think it was that simple) but when I try using the pre existing buttons that I created for my website I am trying to build, the mouse over function does not work, no sound, furthermore, my image is a little bit chopped. Its a gif image that I obviously did not create within flash, but shouldn't you be able to import an image and add mouse over sounds easy?
Thanks.
Movie Clip Buttons With Sounds
Hi
I have some simple movie clip buttons like the ones lee did in his tut. How do I add sounds to these? I've added sounds before to standard buttons but this is easy to do.
I want the sounds to play when the buttons are released. Where ever I look for info in books it always shows using behaviours but these seem to add tons of code.
Please bear in mind that my action script is very basic so please make your answers easy to understand.
Thanks
Ricky55
Overlapping Sounds With Buttons And Movie Clips
I know this is something simple but it's driving me crazy
Here's want I'm trying to accomplish:
1) For my buttons, in the "over" frame, a sounds plays when the user rolls over with the mouse. However, on this page I have several buttons that are setup in the same manner. This creates sounds that overlap if the user moves the mouse over several of these buttons. HOW DO I ELIMINATE THE OVERLAPPING SOUNDS? I want the button that is called on the rollover to play the sound, and if the previous button that was called is not finished with the sound, I want that button to stop playing its sound.
What's the easiest way to do this?
2) Using a button, how do I prevent a user from clicking on a button several times and having the sound overlap. If the user clicks on the button, I want the sound that is playing to stop, and the new sound to start playing (without he duplicated sounds).
Multiple Sounds In Sync, Controlled By Buttons?
Hi,
What i'm aiming to do is make a very simple "DJ" game where a user can start music clips (that have been made the same tempo previously).
Here is the design of the game:
http://img228.imageshack.us/img228/7729/playerlg8.jpg
Basically the user clicks a button, music plays, the he/she can choose another clip on the other side and that should start but play in sync.
(So maybe the clips are just muted?)
Then, i'd like for the crossfader to work, so he/she can cut between or slow fade from one side to the other.
I'm not very competant with flash so please be gentle.
Many many thanks!
Attaching Sounds To Buttons, That Load Into New Levels
Hello and Help!!
I've got a problem thats driving me nuts this morning.
Basically I have created a movie which consists of a load of buttons, which when rolledOver play a sound.
The sound is attached using actionscript like so
on (rollOver) {
flowersound = new Sound();
flowersound.attachSound("3.mp3");
flowersound.setVolume(70);
flowersound.start(0, 1);
}
3.mp3 has linkage export for actionscript ticked.
Everything works fine when I test the movie, however once I try and load this movie on top of my main interface, all sounds stop
im using this to load the movie
on(press, release){
loadMovieNum("murakamigiggle.swf",5);
}
I don't have any other sounds playing in the lower levels.
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
Rand Generate Sounds Multiple-sounds
I got background sound playing (looped) in a movieclip. How could I randomly play other sounds while the background sound is playing? No mouse actions involved here. My objective is to play other sounds while bgsound is playing at any given time or specific times.
Example: playing looped sound and have a short sound clip play when the looped bgsounds hits 20th loop.
Dunno if this is even possible, but hopefully someone can explain how and show a example. thx
Sounds.. Help Needed With Sounds And Actions..
alright i need some help on starting and stopping sound with a toggle switch, using this code on the toggle button:
on (press) {
if (music=yes) {
tellTarget ("soundtrack") {
gotoAndStop ("stop");
}
} else if (music=no) {
tellTarget ("soundtrack") {
gotoAndPlay ("go");
}
}
}
soundtrack contains 4 frames: 1st frame label = "go" actions = music="yes"
2nd frame music event is there
3rd frame action = stop
4th frame action = music="no", stop all sounds, stop
im also using an animated movie clip for a button, and im trying to when the music is off, have it animate, and when the music is on, have it still. my code for this is on the instance "clip" and is basically the same as above except it uses gotoAndStop ("raystop") if music="yes"
can anyone please tell me why none of this seems to work at all?
Linkage - Sounds Stopping Other Sounds?
Hi all,
OK
i have a Christmas Card game that i am trying to put a "jingleBell" sound to. I am using linkage. I dont know if this is the right way to do this but i have put the call to the "jinglebell" sound in a movieclip with the first frame having the following actions
===============================================
bellSound = new Sound(this);
bellSound.attachSound("bells");
bellSound.start();
===============================================
the sound is 5 seconds long and i am trying to loop the sound. My framerate is 60 fps so at the 300th frame of the jinglebell MC, i have a simple gotoAndplay (1).
I also have a cannon on the main stage - if someone not of flash mind was reading this they would think i was doolally!!!! - The cannon fires snowballs and on firing i have another linked sound "fire". the code for the snowball sound is on it's timeline and is as follows
================================================
throwSound = new Sound(this);
throwSound.attachSound("throw");
throwSound.start();
================================================
1. My jinglebell sound only plays once and does not loop again
2. Sometimes the bell sound comes back, but when the cannon is fired, the bells disappear
3. The cannon sound is always present and works as required
Any ideas as to how to get the jingle bell sound to loop and not be effected by the cannon fire sound?
I know that using ActionScript to stop a sound that is linked on the main timeline will stop all others on the main tomeline too, but the sounds here are all located within seperate movieClips.
Any help gratefully recieved
Thanks in advance
gilseb
|