Sound MouseOver Problem

R

Ry

Why does my sound mouseover not play instantly? When you hover over the image
there's a slight delay before the sound plays? (I'm using a very small wav
file.)
 
M

Mark Fitzpatrick

How big is the wav file? The browser wants to first download the file then
it has to launch the mechanism to play it correctly. Even if the file is
fairly small, the browser still has to contact the web server first, then
wait for a response from it along with the file. That can cause a delay as
it's a roundtrip communication to the server.

Hope this helps,
Mark Fitzpatrick
Microsoft MVP - FrontPage
 
R

Ry

The wav file is 22.2 KB. I recently used an 18.9 KB wav file, with a sound
mouseover JavaScript from the web, which worked fine. For the site this query
applies to, it would be easier to use FrontPage to generate the mouseover.
Plus, either way, once the wav has been downloaded, the server shouldn't need
to redownload it every time. Any thoughts?
 
Top