![]() |
Question: How do I preload a sound file?
Answer:
In most browsers, 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.
Copyright © 1999-2008, JavaScripter.net.