# Centered Pop Up Window Help

**URL:** <https://forum.kirupa.com/t/centered-pop-up-window-help/60022>\
**Category:** flash\
**Created:** [August 5, 2004, 6:27pm UTC](https://forum.kirupa.com/t/centered-pop-up-window-help/60022 "2004-08-05T18:27:26Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![STEADICAM](https://avatars.discourse-cdn.com/v4/letter/s/d6d6ee/32.png) [@STEADICAM](https://forum.kirupa.com/u/STEADICAM)\
**Post date:** [August 5, 2004, 6:27pm UTC](https://forum.kirupa.com/t/centered-pop-up-window-help/60022/1 "2004-08-05T18:27:26Z")

</div>

I’m trying to create the centered pop-up window. i want my window to contain some basic info about a band. i have completed the tutorial, but when i do it, it opens up the pop-up window, but it also opens up my browser with this listed in the address bar:

javascript:window.open(‘[http://www.jpmediavisions.com](http://www.jpmediavisions.com)’,‘band’,‘width=400,height=300,toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,top=’+((screen.height/2)-(150))+’,left=’+((screen.width/2)-(200))+’’);void(0);

what is this and how do i get it to just open up in the pop-up. also, when inside actions, does the address have to be a url? i haven’t created the url yet, do i have to do that first before i can do this?

thanks for all your help.

---

<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:** [August 5, 2004, 7:08pm UTC](https://forum.kirupa.com/t/centered-pop-up-window-help/60022/2 "2004-08-05T19:08:51Z")

</div>

maybe the problem is that you are testing your swf inside flash.  
the pop-ups in flash only work properly when the movie is loaded in a html page.  
press F12 to make a html-preview in flash
