# Make page ads refresh on Flash click events

**URL:** <https://forum.kirupa.com/t/make-page-ads-refresh-on-flash-click-events/209319>\
**Category:** web dev\
**Created:** [December 7, 2006, 6:13pm UTC](https://forum.kirupa.com/t/make-page-ads-refresh-on-flash-click-events/209319 "2006-12-07T18:13:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![MDiddy](https://avatars.discourse-cdn.com/v4/letter/m/3bc359/32.png) [@MDiddy](https://forum.kirupa.com/u/MDiddy)\
**Post date:** [December 7, 2006, 6:13pm UTC](https://forum.kirupa.com/t/make-page-ads-refresh-on-flash-click-events/209319/1 "2006-12-07T18:13:27Z")

</div>

I have a page with a fairly detailed Flash app embedded. There are also 3 ad units on this page. I’d like to setup the swf to force the three ad units to refresh when a user navigates through to a new section of the flash app. I assumed I’d need to setup iframes around the adds, then call some js function from Flash which performs a document.location action on the iframes, and it seems to be working in Firefox, but not IE. Has anyone needed to do something similar and maybe offer some insight? Or a better less hacky solution?
