Error when can't run swf when add event click using jquery?
<p>I have a sample code:</p>

<pre><code>&lt;a title="click" href="test.swf" class="game-in-link" style="background:#000;width:100%;height:450px;display:block;"&gt;CLICK ON PLAY&lt;/a&gt;
&lt;div&gt;
&lt;!--
&lt;object width="100%" height="450"&gt;
   &lt;param name="movie" value="test.swf"&gt;&lt;/param&gt;
   &lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;
   &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;
   &lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;
   &lt;embed src="test.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="100%" height="450"&gt;&lt;/embed&gt;
&lt;/object&gt;
--&gt;
&lt;/div&gt;
</code></pre>

<p>And jquery:</p>

<pre><code>// Get SWF file
jQuery("a.game-in-link").one('click', function () {
    var anchor = jQuery(this);
    anchor.html(anchor.html().replace('&lt;div&gt;&lt;!--', '').replace('--&gt;&lt;/div&gt;', ''));
    anchor.removeAttr('href');
    return false;
});
</code></pre>

<p>=> Error can't filw test.swf, How to get SWF file with result is ?</p>

<pre><code>&lt;object width="100%" height="450"&gt;
   &lt;param name="movie" value="test.swf"&gt;&lt;/param&gt;
   &lt;param name="wmode" value="transparent"&gt;&lt;/param&gt;
   &lt;param name="allowFullScreen" value="true"&gt;&lt;/param&gt;
   &lt;param name="allowscriptaccess" value="always"&gt;&lt;/param&gt;
   &lt;embed src="test.swf" type="application/x-shockwave-flash" allowscriptaccess="always" allowfullscreen="true" width="100%" height="450"&gt;&lt;/embed&gt;
&lt;/object&gt;
</code></pre>
