View Full Version : How to mix (play) multiple .wav sounds?

01-20-2004, 01:26 PM
I'm having trouble getting certain sounds to play on my page..
I tried viewing my site offline (locally), and it seemed to work fine.. it played my "intro.wav" and when I moved my mouse over "enter.jpg" it played "howl.wav" without interrupting the original background music...

It's on this (free) website:
http://www.angelfire.com/magic2/mjr04 Michael Jackson website (http://www.angelfire.com/magic2/mjr04/index.html)

So, my question is how to make (mix) multiple sounds to play simultaneously on onMouseover event..

Even if I got it to work on IE 4.x+, I would ever be so glad!!

Help, someone?!

..this is my first time to this forum and I hope I gave enough details about my problem.. feel free to ask or give any suggestions referring to my problem!!

01-20-2004, 02:14 PM
Could a web page contain any more script fragments?!!
Do everyone that you asked to take a look at the source, but mostly yourself, a favour and see if you can rearrange those scripts into one or a couple of external script files, to be linked to in the head section.
Some or more are surely added to the source by Angelfire so there's nothing you can do about that, but in the current state it's very hard to debug or maintain that source.

By the way, it took forever to load the page and the load was broken off by some script error.

To answer your question: have you checked that all wavs are uploaded to the server and are in the directory you've specified? Often when a page works locally but not online, it's either a case of missing files or incorrect references.

01-22-2004, 04:42 AM
Yiiiiiikes....I looked at the source and 95% of that crud could go without affecting the page. All you'd really need is:
<embed src="intro.wav">