# Centered Popup with FOCUS() - Plz Help

**URL:** https://forum.kirupa.com/t/centered-popup-with-focus-plz-help/190669
**Category:** flash
**Created:** [June 13, 2006, 8:26pm UTC](https://forum.kirupa.com/t/centered-popup-with-focus-plz-help/190669 "2006-06-13T20:26:02Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![creischl](https://avatars.discourse-cdn.com/v4/letter/c/cc9497/32.png) [@creischl](https://forum.kirupa.com/u/creischl)
#### Post date: [June 13, 2006, 8:26pm UTC](https://forum.kirupa.com/t/centered-popup-with-focus-plz-help/190669/1 "2006-06-13T20:26:02Z")

</div>

I have used Kirupas centered popup window from Flash and it works great. I have used it on more than one button in Flash to open different html files. The problem I am having is that once I open it with the first button and then click the second button that it hides behind the main html page. How can I alter this to switch the conten and then refocus? Please help… Im guessing it just a simple line of code but nothing I do has worked.
