# Pop up code doesn't work anymore

**URL:** <https://forum.kirupa.com/t/pop-up-code-doesnt-work-anymore/282991>\
**Category:** flash\
**Created:** [March 1, 2009, 3:14am UTC](https://forum.kirupa.com/t/pop-up-code-doesnt-work-anymore/282991 "2009-03-01T03:14:51Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![tseyigai](https://avatars.discourse-cdn.com/v4/letter/t/47e85d/32.png) [@tseyigai](https://forum.kirupa.com/u/tseyigai)\
**Post date:** [March 1, 2009, 3:14am UTC](https://forum.kirupa.com/t/pop-up-code-doesnt-work-anymore/282991/1 "2009-03-01T03:14:51Z")

</div>

I have used a pop up window code several times before and now it doesn’t seem to work. I’ve tried in several different movies now and when pressing the button it simply flashed the page and moves a little, but won’t actually pop up to the page it’s pointed to.

Here’s the code:  
on (release) {  
getURL (“javascript:NewWindow=window.open(‘[http://www.angelfire.com/in/HansonArtGallery/2newpaintingbig.html’,‘newWin’,'width=650,height=650,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No](http://www.angelfire.com/in/HansonArtGallery/2newpaintingbig.html','newWin','width=650,height=650,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No)’); NewWindow.focus(); void(0);”);  
}

What’s wrong here?

thanks,  
Tseyigai
