Preloading Sound Files
Question: How do I preload a sound file?
Answer:
In Netscape Navigator 3.0 and newer, as well as in
Microsoft Internet Explorer 4.0 and newer, you can use the following
EMBED
tag to preload a sound file
mySound.mid
:
<EMBED NAME="mySound" SRC="mySound.mid"
LOOP=FALSE AUTOSTART=FALSE HIDDEN=TRUE MASTERSOUND>
Then you can play the sound using the techniques described
in the
Playing Sound section.
JavaScripter.net.
Copyright
© 1999-2006, Alexei Kourbatov