Control an swf file using JavaScript
<p>I have an swf file embedded into my webpage and I want to control it. I know that the controls are not available for an swf file, so I'm controlling it using JavaScript. I've managed get a Play and Pause button, but I really need to Stop button which will Stop the movie and rewind it to the beginning.</p>

<pre><code>    &lt;a style="color: #ffffff;" href="javascript:document.movie.Play()"&gt;►&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;a style="color: #ffffff;" href="javascript:document.movie.StopPlay()"&gt;║&lt;/a&gt;
</code></pre>

<p>This is code I'm using so far. I'm using ASCII codes to get the Play and Pause symbol and I can easily get a stop one but is there a way I can Stop and reset the movie?</p>
