Flash contents are not getting hidden in Chrome
<p>I have asp.net page on which i showed Flash Contents using:</p>

<pre><code>&lt;object id="FlashFile" width="800" height="240"&gt;
&lt;embed src="images/animation.swf" type="application/x-shockwave-flash" width="800"
 height="240"&gt;&lt;/embed&gt;
&lt;/object&gt;
</code></pre>

<p>and after clicking some linkbutton say "Read More" i want this flash to be hidden and showing some popup javascript.
I used</p>

<pre><code>document.getElementById("FlashFile").style.visibility = "hidden";
</code></pre>

<p>Before showing the popup javascript.</p>

<p>It is working on IE and Mozilla but not on Chrome.
In chrome the Flash contents are still shown with full visibility.
Can anyone tell me what should be done.</p>
