# Closing a Centered Pop-Up Window

**URL:** https://forum.kirupa.com/t/closing-a-centered-pop-up-window/161571
**Category:** flash
**Created:** [September 5, 2005, 9:49am UTC](https://forum.kirupa.com/t/closing-a-centered-pop-up-window/161571 "2005-09-05T09:49:38Z")
**Posts on this page:** 2
**Page:** 1

<div class="post-metadata">

### Author: ![einstein](https://avatars.discourse-cdn.com/v4/letter/e/67e7ee/32.png) [@einstein](https://forum.kirupa.com/u/einstein)
#### Post date: [September 5, 2005, 9:49am UTC](https://forum.kirupa.com/t/closing-a-centered-pop-up-window/161571/1 "2005-09-05T09:49:38Z")

</div>

I am using kirupa’s “Launching a Centered Pop-Up Window” from flash which works great - but i need to launch a second popup window which closes the first one.  
Any ideas anyone?

---

<div class="post-metadata">

### Author: ![danakiller](https://avatars.discourse-cdn.com/v4/letter/d/e8c25b/32.png) [@danakiller](https://forum.kirupa.com/u/danakiller)
#### Post date: [April 4, 2006, 8:20pm UTC](https://forum.kirupa.com/t/closing-a-centered-pop-up-window/161571/2 "2006-04-04T20:20:17Z")

</div>

I am having the exact same problem. Only I have about 30 pages that are all in popups. There has to be an easier way to let these individual popups open without having to manually close one first. This code above is ok, but would I have to write that code for every single popup I have??
