# Create a centered POP UP window from Flash

**URL:** <https://forum.kirupa.com/t/create-a-centered-pop-up-window-from-flash/158714>\
**Category:** flash\
**Created:** [August 11, 2005, 12:08pm UTC](https://forum.kirupa.com/t/create-a-centered-pop-up-window-from-flash/158714 "2005-08-11T12:08:04Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![JoakimN73](https://avatars.discourse-cdn.com/v4/letter/j/3be4f8/32.png) [@JoakimN73](https://forum.kirupa.com/u/JoakimN73)\
**Post date:** [August 11, 2005, 12:08pm UTC](https://forum.kirupa.com/t/create-a-centered-pop-up-window-from-flash/158714/1 "2005-08-11T12:08:04Z")

</div>

Hi!  
I am working with a website in Flash MX 2004. I want to have a centered POP UP window when someone clicks on a menu button. I have tried out some actionscript that I found here. It works well, when it’s in the first frame of my timeline. The site I work with the menu is a bit inside the timeline. Now when someone clicks on the button a window pops up. But it’s not in the correct size that I wrote in the script. It’s much bigger. Why is that? How can I have a menu button working with a pop up window that shows an external html file?

Please help me out! Thanks!

Best regards  
Joakim Norlin  
Malmo, Sweden
