# Creating 'Floating Ads' and closing them

**URL:** https://forum.kirupa.com/t/creating-floating-ads-and-closing-them/167084
**Category:** flash
**Created:** [October 25, 2005, 10:55am UTC](https://forum.kirupa.com/t/creating-floating-ads-and-closing-them/167084 "2005-10-25T10:55:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![peanutsandjam](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/peanutsandjam/32/1250_2.png) [@peanutsandjam](https://forum.kirupa.com/u/peanutsandjam)
#### Post date: [October 25, 2005, 10:55am UTC](https://forum.kirupa.com/t/creating-floating-ads-and-closing-them/167084/1 "2005-10-25T10:55:57Z")

</div>

I know many of you will have seen the floating flash adverts that some websites incorporate on to their homepages, I am trying to create one as more of a warning popup instead of an advert. I have created the SWF, placed it into a layer on my page in Dreamweaver, so far so good. But here’s the problem.

How do I close it? I have my close button, but everything I have tried does not properly close this popup. Does anyone have any suggestions or know what to do to solve this?

Many thanks in advance :ub:
