# Customizing getURL pop up windows

**URL:** <https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269>\
**Category:** flash\
**Created:** [December 20, 2003, 7:19am UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269 "2003-12-20T07:19:54Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![twisted357](https://avatars.discourse-cdn.com/v4/letter/t/eada6e/32.png) [@twisted357](https://forum.kirupa.com/u/twisted357)\
**Post date:** [December 20, 2003, 7:19am UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269/1 "2003-12-20T07:19:54Z")

</div>

I am using the getURL function to open a jpg in a new browser window, which works fine.

on (release){  
getURL(“images/picture.jpg”, \_blank);  
}

However, I desperately want to customize the browser window that pops up so that it has no menu or toolbars, and I wish to have it sized to fit my image(s).

I was wondering if anyone knew a way this can be done. I’ve found out many ways to do this opening from an html page ( window.open(blah blah) ), but I can’t figure out how to spawn a customized pop-up from within an swf.

If anyone could help or give some suggestions, I would be very greatful.

---

<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:** [December 21, 2003, 8:11am UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269/2 "2003-12-21T08:11:59Z")

</div>

I can’t believe this is so bloody hard!

I checked out that tutorial, and despite my efforts to alter it to my needs, all it does is try to open a hundred thousand pop ups and buggers my computer to \*\*\*\* (making for a very tedious and time consuming testing session).

---

<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:** [December 21, 2003, 9:15am UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269/3 "2003-12-21T09:15:50Z")

</div>

The way I use it, is make a button like in the sample file of the tut.  
Put it in a page in DWeaver(or any other html program). Then in DW make the page that is supposed to be the pop-up. Call it pop-up.htm

```auto
on (release) {
    address = "http://www.yoursite.com/pop-up.htm";
    target_winName = "yoursite_index";

```

Then customize it!

---

<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:** [December 21, 2003, 3:27pm UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269/4 "2003-12-21T15:27:18Z")

</div>

Yeah, once I calmed down, I realized my problem. I’m trying to run these scripts inside a dynamically loaded swf, and I’m pretty sure it was running them at 50 fps, thus my problem of a trillion windows opening.

But I got it all sorted out, thanks for the lead Copydog

---

<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:** [December 21, 2003, 3:34pm UTC](https://forum.kirupa.com/t/customizing-geturl-pop-up-windows/38269/5 "2003-12-21T15:34:36Z")

</div>

That’s what the forum’s for,  
to calm you down!!!

Haha!
