Page 1 of 1

.wav & on MouseOver

Posted: Fri Sep 26, 2003 11:44 am
by mesz
hello,
I'm, confused.
I'm using the simplest onMouseOver piece of script, and yet I'm getting an error.
I'm trying to generate a sound onMouseOver using a .wav file -
link sound

Code: Select all

<a href="#" onMouseOver="hoversound.play()">test</a> 
<embed name="hoversound" src="amazing.wav" autostart="false" loop="false" 

volume="150" hidden="true" />
yet I get an error message displayed in the status bar - although inconsequential they give a truly unprofessional look to a site.

Posted: Fri Sep 26, 2003 11:50 am
by mesz
I have had a thought - I am trying this on two PCs.
1) with soundcard
&
1) without soundcard.

The PC with a sound card displays no error,
the PC without displays the error.

I think this would explain that....
however....
there is also an embedded sound onLoad, but the page and so this sound starting DOES NOT display an error.
Any suggestions why?[/b]