# Using JavaScript to Open New Window

**URL:** <https://forum.kirupa.com/t/using-javascript-to-open-new-window/237295>\
**Category:** Uncategorized\
**Created:** [August 29, 2007, 2:25am UTC](https://forum.kirupa.com/t/using-javascript-to-open-new-window/237295 "2007-08-29T02:25:57Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![dtw2007](https://avatars.discourse-cdn.com/v4/letter/d/b487fb/32.png) [@dtw2007](https://forum.kirupa.com/u/dtw2007)\
**Post date:** [August 29, 2007, 2:25am UTC](https://forum.kirupa.com/t/using-javascript-to-open-new-window/237295/1 "2007-08-29T02:25:57Z")

</div>

Ok.

So I followed everything in this article.  
[http://www.kirupa.com/developer/flash5/newwindow.htm](http://www.kirupa.com/developer/flash5/newwindow.htm)

I even downloaded the sample files and loaded the .fla file, published it.  
In my directory I have newwindow.html, newwindow.swf files.  
I click on newwindow.swf to test this out.  
When I click on Kirupa’s name, it opens a new browser with “No Page to Display” at title of the window.

Also, in the address bar, it says …

javascript:Launch(‘[http://www.kirupa.com/kirupa.htm](http://www.kirupa.com/kirupa.htm)’)

What am I doing wrong? If someone can explain what files need to be in what directory, I’d appreciate it. Does this not work in CS3???

I thought this would be an IE security setting so I set everything to low and it still fails.  
I’d appreciate some help with this mundane issue. I’ve spent 8 hours on this issue and it’s very frustrating because it looks like a very common issue and everyone seems to eventually find a solution to this function in all the other forums.

Dumbfounded and Frustrated,  
Janice John
