Tracking Forums, Newsgroups, Maling Lists
Home Scripts Tutorials Tracker Forums
  Advanced Search
  HOME    TRACKER    Flash




Sounds



My problem is simple...ish
When I 'stream' sounds that I have imported into flash, there is a hideous crackling noise over certain parts of the sound.
When I 'event' sounds that I have imported into flash, the timing is horribly off (ie. the sound starts waaaay after or before it should have done etc).

I've realised that it may have something to do with what format the sounds are in when you import them (e.g. 2,000Khz 8 bit mono or whatever), but honestly, I haven't a clue.

Could someone either point me towards an appropriate tutorial, or suggest what I could be doing wrong? Thank you.



KirupaForum > Flash > Flash 8 (and earlier) > Flash MX
Posted on: 03-01-2005, 09:23 AM


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

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

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!

Sounds: Faders And Stopall Sounds
Hi can any one help me with sound in flash

I 've created an 8 track mixing deck with 8 separate faders which fade in attached/linked sounds. I have also created a master
volume fader that I would like to beable to control the master volume. I can't seem to get the master volume control to work.
is there a specific script for the master volume???

summary: 8 faders, 1 master control volume. Would like master control volume to fade all 8 sounds up or down in volume.
(but not changing the actual separate fader volumes...just over all master sound!

StopallSounds(part of the same project)
with in the movie of the 8 track mixer I have a stop and play buttons,
I have attached the script 'stopallsounds' to the stop button which stops the sounds but I cant seem to restart the sounds,
is there a script like playall sounds which will restart the sounds?

can any one help

kind regards
paul

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

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?

Looping Several Sounds... A Gap Between The Sounds
Hi,

I planned to use several loops in a presentation, and queue them so it will sound like a longer piece of music.

I planned to use onSoundComplete with the following basic behavior :


ActionScript Code:
snd1 = new Sound(this);
snd1.attachSound("loop1");
snd2 = new Sound(this);
snd2.attachSound("loop2");

snd1.onSoundComplete = function() {
    snd2.start();
}

snd1.start();

The same principle has been suggested several times on this forum, like here :
http://www.actionscript.org/forums/s...d.php3?t=32921

But it doesn't work fine for me : there's a gap between the two sounds when I do so, a brief silence that cuts the music flow.

So I am considering using the setInterval function instead, something like this :


ActionScript Code:
att = setInterval(function() {
    clearInterval(att);
    snd2.start();
}, snd1.duration-150);

which works, but I'm not found of it. Plus notice that I have to set the callback 150 milliseconds shorter than the snd1 duration in order to loop fine, otherwise it doesn't loop well.

So you're gonna tell me : there is something wrong with my loop files. Nope, if I make them one file, pasting the second sound at the end of the first, it works fine.

Please, does anyone has a solution ?

Thanks,
_marabout_

Sounds
hi all
i am trying to figure out how to add sounds and control them (i.e stoping and starting them). could someone please tell me how i can do this? any help is appreciated.

thanks

Help With Sounds....
Is it possible to pause and resume sound files in Flash 5. If so, how can I do this. Please Help

Sounds
Hi

Can some one tell me what is the best program out there to edit sounds for Flash or Dreamweaver?

Thanks

Alex

Help Sounds
I need help, the sound i want to put into my flash preloader wont come in. I can't figure out how to bring in sounds from the outside in to flash.

Please help...

Sounds
Does anybody know what can be done for working with sounds that are not supported by flash 5.
I'd like to work with au and mid files.
Are there any software that converts these kind of sound for sounds acceptable by flash?
Thanks

Sounds
How do u import your own sound effects into flash.

Need Some Help With Sounds
Ok, here goes!

I've made a nice little intro to a friends website. It is currently not up so I'm going to try and describe the problem.

The intro has the star wars main theme playing as the intro begins. There is a point in the intro where another song starts playing as the star wars song fades out. Everything seems fine when I test it with controller. The star wars song fades out, the other starts up during the fade out, life is good. My problem lies in the fact when I hit ctrl+enter to test the scene, as star wars fades out, the other loop doesnt play at all. There is no action for stopallsounds inserted when the second song begins to play. I am completely stumped. I hope this may have happened to someone out here that can give me an idea why this could be happening.

Thanks again,
Dray

How You Add Sounds?
i tried to find it but cant, so how?

CD Sounds
I'm making an animation on CD to sendout to a bunch of people. I'm having an audio spot made and I'm wondering if there is a preferred audio file type to use in this situation. Obviously the CD will be viewed on many different computers depending who the recipient is.

Thanks for all help in advance.

Using Sounds
Is it possible to use onSoundComplete with streaming sounds, if you load 'em into the movie via:

_global.mySound = new Sound();

mySound.loadSound ("mysound.mp3", true);
mySound.onLoad = goMySound();
##mySound.onSoundComplete = nextFrame();##


function goMySound()
{
mySound.start();
}

If I use that line surrounded by #'s it automatically skips to the next frame without playing the entire track.

Any suggestions?

Sounds
Where can i get wav music i can use in my intro? (small clips, not 2.4 mb ones) im useing v 2.0

I Need Some Help For Sounds
i boucht the book (action script flash mx) from the title flash mx library.com butt i still dont get how i simply can make a stop and play button for the sound for my site maby it's stupid that i dont know it yet but every one has to learn it right ? so if anny one can explain to me how i can make those buttons and the action script for it

thx

Sounds
Is there a way to just.. make the sound fade out from its current point? I am working on an on/off button that will fade it in or fade it out.

Sounds
I have a function

myMovie4.onRollOver = function() {
this.play();
this.onEnterFrame = function() {
if (this._currentframe == this._totalframes) {
this.stop();
}
};
};
myMovie4.onRollOut = function() {
this.onEnterFrame = function() {
this.gotoAndStop(this._currentframe-1);
if (this._currentframe == 1) {
delete this.onEnterFrame;
}
};
};

Now I want to add a sound but only if I rollover the movie. How can I do that. If i put it in the movieclip it plays it also if I Rollout.

Sounds
Hai,

I still have a major problem with my sounds, playing my movies on diferent computers.
On some computers my sounds stuck and play again.

Can someone solve this problem

Sounds
I need to put a toggle music button on my site, how do I do that without stopping all sound, just the music??

thanx

Sounds
hello.

how do you add a sound to a movie?

I've tried several things from the tutorials but can't get anything to work.

any suggestions??

Sounds....
How do I keep my animations long, file size small, but still have sounds. Like if I wanted someone to be talking through the whole thing, that's one big mp3, how do I make it like www.homestarrunner.com ???


Jacob

Sounds Sounds And Yes, Sounds
I am having a stressful problem with my background sound.
I have two Sound variables. One background sound and one button sound. However when I put my mouse over the button and the button sound plays the background sound stops. Do you know any possible reason for this?

Sounds From SWF?
Is there anyway possible to export sounds from an swf file?

Looking For Sounds
I am looking for websites that provide free sounds.

I am looking for some sound clips that I can use on my buttons. Something short of course maybe with an ocean theme but not necesary.

Also I am looking for some cool sounds that go with text and images moving in and out of frame. like swishes or something.

All suggestions are appreciated.

Scottie

Sounds
does anyone know where to find a cool set of sounds for mouse over and hit that sound futuristic and clean? it's basically the sounds you hear on everyone else's sites. some similar sounds are on www.johnmayer.com (i saw that in a post earlier). I tried looking through all of the sounds on flashkit, but with no luck.

thanks

Sounds..
Where do I find all these great sounds I see on these and other sites.
I am looking for background music as well as rollover button sounds.

Thanx
jim

Need Sounds
i`m doing a work and i need 2 sounds:
a good fart
a big punch (hit) on a head


if anyone can send them to me or tell where to find them i`ll be very greatfull



ict@cisternasltda.cl

Sounds
I have a song playing in the background of my movie, and a button that stops my movie (with an action to stop all sounds) and a button that plays my movie, and when you click the button to stop the movie the song stops too, but when you click the play button it starts the song at the begining instead of starting it where it stopped, is there any way to start the song where it stopped? Thanks ( I have Flash MX)

Sounds
Hi all,

I need to do a Loop of a sound. I need to do it in a Page where i have no buttons but only static text. Can anyone help me?


Regards

cikk

Sounds
ok this is going to sound really stupid, but how do i load load a sound file into the timeline in MX? i can import the file easy enough, just finding the right window panel to do the rest is where i become a bit stuck. Can anyone help here?

Cheers for ya time

Where Do You Get Sounds From?
Hi there.

Where would i find a good resource of free sounds?

I am looking for a little soundtrack for my outdoor activities / corporate entertainment project!

Any ideas?

Sounds
How do I make a sound play when my mouse is over a mc? I only want it to play whilst the cursor is over the mc though, once its away I want the music to stop. Is that possible?

Help With Sounds
I'm creating this 'choose-your-own-adventure' type game, which includes a sound clip on each frame. But when a button directs a the movie to a frame, it runs through all the frames playing all the sounds in the frames leading up to it. This results in a gigantic mess.

What can I do, and why does flash do this?

Sounds
I was just wondering about something, for my newest project(I'm actually putting time into it and not making stick figures ). It's based off of the XBox game Rainbow Six 3(well, it started on PC, but I have it on XBox ) and I have some machine gun sound effects that I downloaded, but I don't want the whole thing to play, and I don't want it to start at the beginning. Is there anyway to chop up the sounds/songs and pick the parts you want most? Anyway, here's the fla or whatever it's called. You'll see where I want the machine gun sounds.
O and btw, I know some of my methods of doing things are a little crude (mainly the last couple keyframes in the 3rd scene are done a little weirdly), but I'm a FLASH Newbie, which is why I'm here, and don't tell me how to do all the things I did wrong unless you REALLY want to explain it all because I don't need to know anything as long as it works

Sounds
I need help inserting sounds into my sounds library. I'm a flash newbie. Well im not too sure you do put sounds into my libraries but how do u insert loops into the movie?

Sounds
Hi, I am creating an intro to a CD-ROM. This intro contains voice over which is synced with animation. We are having problems because we are finding the voice over (mp3) is running faster than the animation on certain machines. (slower machines)

To combat this problem we thought we could dynamically load the sound files in to the movie at certain points on the time line.

Does anyone know how to do dynamically load mp3 onto certain places on the time line and whether this will solve our problem?

Michelle

Sounds
how do i go about adding sound to my site? I want to give the user a choice of sounds, say 3 to start with for example. they press a button and the sound streams in and plays once loaded completely.

How is this acheived?

Thanks.

Where Are All The Sounds?
I noticed that on the sound efx page in here it says there are over 3000 sounds under interfaces... i only see three pages and a total of nine sounds? what am I missing here?

Sounds....
i was wondering where do u get all those sounds for ur web sites...
for example when u roll over a button there is a sound...
and i wanted to know where do u get them from....
do u create them or download them and from where....
thanks ahead....

(i don't mean how to attach them and use - where do u get them)

Where Are The Sounds?
I was doing a tutorial (from here) making a button, that makes a sound when clicked.

The directions are very clear, with pictures. When it came to ADDING THE SOUND (click to the button, which probably isn't used too much, aside from tutorials) I couldn't find it.

I have FLASH MX. It didn't have whatever it said to look for (and showed a picture of). I looked it up in HELP (on FLASH) and it gave a complicated way, adding another layer or something. Which I would think would be for sound running along with the flash movie, and not an interactive button.

I knew there were sounds in my Coffee Cup html editor (I've never used there) so found IMPORT (on FLASH) and imported a sound (cash register was closest, though that had MOOOO) It went into the library on FLASH and I added it to the button from there.

So, when the button is clicked it makes a "ka-ching" sound.

I was going to show the page and ask about why the picture in the flash isn't centered better, but that might be a different topic I'll have to look.

I had never done anything with sound before (on websites, I don't like using music I think most times it slows them down and get annoying

So, I was amazed that I could import a sound from elsewhere and add it to the flash, and it worked.

I think maybe the tutorial was written for a different version of FLASH. I need a clue as to where to look for SOUNDS in MX.

I keep doing tutorials and coming across answers in a different one, or trying it again and figuring it out for myself. But, getting pointed in the right direction helps.

I have started reading over this board, too, which has a lot of info and answers. Not enough time in the day and night!

Thanks,

Carrie

Sounds Right
thanks for getting back so soon. i will give this a shot.

DK

Sounds
is there any action play sound as in stopAllSounds.. ??

if so pls tell me

thanks!!!!

Copyright © 2005-08 www.BigResource.com, All rights reserved