# centered\_popup,works great! but

**URL:** <https://forum.kirupa.com/t/centered-popup-works-great-but/12131>\
**Category:** Uncategorized\
**Created:** [January 27, 2003, 12:50pm UTC](https://forum.kirupa.com/t/centered-popup-works-great-but/12131 "2003-01-27T12:50:00Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![sunli](https://avatars.discourse-cdn.com/v4/letter/s/a87d85/32.png) [@sunli](https://forum.kirupa.com/u/sunli)\
**Post date:** [January 27, 2003, 12:50pm UTC](https://forum.kirupa.com/t/centered-popup-works-great-but/12131/1 "2003-01-27T12:50:00Z")

</div>

Hi all!

The centered\_popup tutorial here is great, its just that im not all that smart. I want to load diffrent html pages in to the popup.  
But if you dont close the window (the popup that is) it just  
open the same window, it does’nt load in the new page.  
anybody know what to do?

:goatee: :crazy:

re:gards  
Sun li

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 27, 2003, 1:00pm UTC](https://forum.kirupa.com/t/centered-popup-works-great-but/12131/2 "2003-01-27T13:00:43Z")

</div>

yeah … a lot of people have had the same problem with multiple popups

if i remeber … the last time what i did was creating a new prototype for every window

```auto
on (release) {
	bla = bla
	bla = bla
	openWinCentre2 (bla bla bla)
}

```

```auto
MovieClip.prototype.openWinCentre2 = function (bla bla bla) {
	getURL ("javascript:myWin2 .. bla bla bla")
}

```

hope you get the point (-:

if not … search for ‘popup window’ posted by **lostinbeta** and try his code

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [January 27, 2003, 1:04pm UTC](https://forum.kirupa.com/t/centered-popup-works-great-but/12131/3 "2003-01-27T13:04:46Z")

</div>

see attachment in the third post  
[http://www.kirupaforum.com/showthread.php?s=&threadid=7774&highlight=popup+window](http://www.kirupaforum.com/showthread.php?s=&threadid=7774&highlight=popup+window)
