# Center pop up tutorial; need help

**URL:** <https://forum.kirupa.com/t/center-pop-up-tutorial-need-help/5495>\
**Category:** Uncategorized\
**Created:** [September 13, 2002, 7:56am UTC](https://forum.kirupa.com/t/center-pop-up-tutorial-need-help/5495 "2002-09-13T07:56:35Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![rosano](https://avatars.discourse-cdn.com/v4/letter/r/da6949/32.png) [@rosano](https://forum.kirupa.com/u/rosano)\
**Post date:** [September 13, 2002, 7:56am UTC](https://forum.kirupa.com/t/center-pop-up-tutorial-need-help/5495/1 "2002-09-13T07:56:35Z")

</div>

If some one could help it would really help me out. = )

I follow the center pop up tutorial on the site and it won’t work within my page. the exact name of the tutorial is “Launching a Centered Pop-Up Window” and it’s at [http://www.kirupa.com/developer/mx/centered\_popup.asp](http://www.kirupa.com/developer/mx/centered_popup.asp).  
When I entered my website and H x W in the downloaded source that came with the tutorial, it worked, but I did it on my page and it open and explorer window looking for the following in the address bar:

javascript:var%20myWin;%20if(!myWin%20||%20myWin.closed){myWin%20=%20window.open(‘[http://www.kirupa.com/modular/pop-up.htm’,‘kirupa’,‘width=400,height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,top=’+((screen.height/2)-(150))+’,left=’+((screen.width/2)-(200))+’](http://www.kirupa.com/modular/pop-up.htm','kirupa','width=400,height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=0,top='+((screen.height/2)-(150))+',left='+((screen.width/2)-(200))+')’)}else{myWin.focus();};void(0);[SIZE=1]fasdf[/SIZE]

Can any one help? do I have to do something different if I am embedding the action script within a movie?

Thank you in advance for your help and willingness to spend time on my problem. = )

J. Rosano

---

<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:** [September 13, 2002, 9:07am UTC](https://forum.kirupa.com/t/center-pop-up-tutorial-need-help/5495/2 "2002-09-13T09:07:20Z")

</div>

I figured out that it work, but only if I export it as an htlm. For this site, I am trying to do a full screen with out the explorer window. how can I do a center pop up out of that or out of a flash stand alone presentation?

Thank You

J. Rosano
