Image

Imageiknowcss wrote in Imageflashdev

Sound Problems

I've got a flash MX "game" that I'm working on where I'd like to have one of six sounds play when you hover your mouse over a movie clip. I've got all the actionscript working to make the sounds play on (rollOver), and the first time you do all six in order, they play correctly, but if you try to play, let's say, sound one, several times, it only plays once and you have to wait for it to finish before you can play it again. I'm using this actionscript for each sound:

E1snd = new Sound();
E1snd.attachSound("E1");
E1snd.start();

I tried adding E1snd.stop(); right before start, but that command stops all sounds. I want the other sounds to continue to play. I've been wracking my brains out searching google for the answer for this but I haven't come up with anything helpful. Maybe I'm searching for the wrong thing?

Anyways, thanks in advance for any help.

Edit:
I got the previous question answered, but now I've got a new one which I highly doubt works in flash. Is it possible to change the pitch of a soundclip in flash without using sound-editing software? I've got a program that can do it, but I would end up with more than 23 pitches. That wouldn't be good for dialup users.