# Flash Ad layering Flash over HTML - can't click links

**URL:** https://forum.kirupa.com/t/flash-ad-layering-flash-over-html-cant-click-links/279645
**Category:** Uncategorized
**Created:** [January 16, 2009, 10:02pm UTC](https://forum.kirupa.com/t/flash-ad-layering-flash-over-html-cant-click-links/279645 "2009-01-16T22:02:32Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![natsully](https://avatars.discourse-cdn.com/v4/letter/n/96bed5/32.png) [@natsully](https://forum.kirupa.com/u/natsully)
#### Post date: [January 16, 2009, 10:02pm UTC](https://forum.kirupa.com/t/flash-ad-layering-flash-over-html-cant-click-links/279645/1 "2009-01-16T22:02:32Z")

</div>

I have created a Flash Overlay ad (similarly like what you see on Yahoo and MSN).  
Everything is working correctly.

The only thing is when the animation is over (ended by a “stop();” command in the flash file, it is leaving flash overlayed across the entire browser window.  
It is not letting me click any of the links I have below.

How can I end the animation so that I can click my html links below it?!

PLEASE HELP!

Code below:

CSS

.flashad {  
margin: 0px;  
padding: 0px;  
height: 100%;  
width: 100%;  
z-index: 0;  
position: absolute;  
left: 0px;  
top: 0px;  
clip: rect(0px,auto,auto,0px);

html

\<div class=“flashad”\>  
\<object id=“FlashID” classid=“clsid:D27CDB6E-AE6D-11cf-96B8-444553540000” postion=“absolute” width=“100%” height=“100%” zindex=“1”\>  
\<param name=“movie” value="…/site/flash/overlaytest.swf"\>  
\<param name=“quality” value=“high”\>  
\<param name=“loop” value=“false”\>  
\<param name=“wmode” value=“transparent”\>  
\<param name=“swfversion” value=“9.0.45.0”\>  
\<!-- Next object tag is for non-IE browsers. So hide it from IE using IECC. --\>  
\<!–[if !IE]\>–\>  
\<object type=“application/x-shockwave-flash” data="…/site/flash/overlaytest.swf" width=“100%” height=“100%”\>  
\<!–\<![endif]–\>  
\<param name=“quality” value=“high”\>  
\<param name=“loop” value=“false”\>  
\<param name=“wmode” value=“transparent”\>  
\<param name=“swfversion” value=“9.0.45.0”\>  
\<!–[if !IE]\>–\>  
\</object\>  
\<!–\<![endif]–\>  
\</object\>  
\</div\>
