# Centered Pop-up Window

**URL:** <https://forum.kirupa.com/t/centered-pop-up-window/121192>\
**Category:** Uncategorized\
**Created:** [August 31, 2004, 7:21pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/121192 "2004-08-31T19:21:41Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![coolbeans40](https://avatars.discourse-cdn.com/v4/letter/c/3d9bf3/32.png) [@coolbeans40](https://forum.kirupa.com/u/coolbeans40)\
**Post date:** [August 31, 2004, 7:21pm UTC](https://forum.kirupa.com/t/centered-pop-up-window/121192/1 "2004-08-31T19:21:41Z")

</div>

Hello,

I did the “Centered Pop-Up” window tutorial from this website. I got it to work, which is great. However, the pop-up window will only let me open an already published webpage. If I try to put a file that I have created in html in the “address” variable (for example a file named “contact.htm”, it won’t work. Does anyone know how to get this pop-up window to open a file you created in htm, that is located in the same folder as your flash file?

I would appreciate any help I can get.

Thanks.
