# Pop up (window) problems

**URL:** <https://forum.kirupa.com/t/pop-up-window-problems/13080>\
**Category:** Uncategorized\
**Created:** [February 8, 2003, 5:15pm UTC](https://forum.kirupa.com/t/pop-up-window-problems/13080 "2003-02-08T17:15:55Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![davekunz](https://avatars.discourse-cdn.com/v4/letter/d/dc4da7/32.png) [@davekunz](https://forum.kirupa.com/u/davekunz)\
**Post date:** [February 8, 2003, 5:15pm UTC](https://forum.kirupa.com/t/pop-up-window-problems/13080/1 "2003-02-08T17:15:55Z")

</div>

I was looking through an old thread on pop up windows that suggested a FLASH KIT tutorial. I thought it would be great to have the code inside of Flash instead of the HTML file but…

this code

imaged.onRelease = function() {  
getURL (“javascript:NewWindow=window.open(‘JasperPoolZ.jpg’,‘newWin’,‘width=186,height=270,left=0,top=0,  
toolbar=No,location=No,scrollbars=No,status=No,res  
izable=No,fullscreen=No’); NewWindow.focus();  
void(0);”);  
}

gives me this error message

toolbar=No,location=No,scrollbars=No,status=No,res  
izable=No,fullscreen=No’); NewWindow.focus();

Symbol=images, Layer=zoomactions, Frame=10: Line 4: ‘;’ expected  
void(0);");

any idea what I’m doing wrong?

* * *

---

<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:** [February 8, 2003, 5:28pm UTC](https://forum.kirupa.com/t/pop-up-window-problems/13080/2 "2003-02-08T17:28:43Z")

</div>

```auto
imaged.onRelease = function() {
	getURL("java<I></I>script:NewWindow=window.open('JasperPoolZ.jpg','newWin','width=186,height=270,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus();void(0);");
};

```

I did that and recieved no error.

---

<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:** [February 8, 2003, 9:49pm UTC](https://forum.kirupa.com/t/pop-up-window-problems/13080/3 "2003-02-08T21:49:11Z")

</div>

Make sure you don’t have that line wrap in your code.

---

<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:** [February 9, 2003, 1:04am UTC](https://forum.kirupa.com/t/pop-up-window-problems/13080/4 "2003-02-09T01:04:33Z")

</div>

no wrap …I must have button issues or another rookie mistake of sorts.

thanks for trying
