Replay a sound using EvalSound before the sound is ended
<p>I have this code:</p>

<pre><code>&lt;script&gt;
function EvalSound(soundobj) {
  var thissound=document.getElementById(soundobj);
  thissound.Play();
}
&lt;/script&gt;

&lt;embed src="success.wav" autostart=false width=1 height=1 id="sound1"
enablejavascript="true"&gt;
</code></pre>

<p>I play this sound when a function is triggered, with this javascript code. My code looks like this:</p>

<pre><code>-function code-
pA = false;
EvalSound('sound1');
} else {
-more code-
</code></pre>

<p>This all works, but if triggers again before the sound is done playing, it will do nothing. I want it to replay the sound immediately when the function is triggered again, even if the sound isn't ended yet.</p>

<p>Tried <code>EvalSoundOff</code> but no luck with that one</p>

<p>Hope this is possible, all suggestions are welcome thanks!!</p>
