callhandler
Programmer
I have a page that needs to pre-load several sounds before enabling some controls.
I add the sounds as such:
<EMBED NAME='sound1' SRC='sound1.wav' AUSTOSTART='FALSE' HIDDEN='TRUE'>
Then I use the boolean test
(document.all["sound1"].readyState=='complete')
to see if the sound is loaded.
Unfortunately, all the boolean test returns 'complete' even if the sound file is NOT loaded.
Any ideas how to fix this problem?
I add the sounds as such:
<EMBED NAME='sound1' SRC='sound1.wav' AUSTOSTART='FALSE' HIDDEN='TRUE'>
Then I use the boolean test
(document.all["sound1"].readyState=='complete')
to see if the sound is loaded.
Unfortunately, all the boolean test returns 'complete' even if the sound file is NOT loaded.
Any ideas how to fix this problem?