# Problem with opening a new window - NEED INPUT

**URL:** <https://forum.kirupa.com/t/problem-with-opening-a-new-window-need-input/186804>\
**Category:** flash\
**Created:** [April 24, 2006, 7:10pm UTC](https://forum.kirupa.com/t/problem-with-opening-a-new-window-need-input/186804 "2006-04-24T19:10:30Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![jak675](https://avatars.discourse-cdn.com/v4/letter/j/6a8cbe/32.png) [@jak675](https://forum.kirupa.com/u/jak675)\
**Post date:** [April 24, 2006, 7:10pm UTC](https://forum.kirupa.com/t/problem-with-opening-a-new-window-need-input/186804/1 "2006-04-24T19:10:30Z")

</div>

Hi,  
I want to open an html file in a new window from my flash content, but am having trouble. Here is the code below I am using:

on (release) {  
getURL(“javascript:openWindow(‘become.html’,‘newWindow’,‘toolbar=0,location=0,directries=0,status=0,menubar=0,scrollbars=0,resizable=0,width=400,height=550,left=80,top=180’)”);  
}

For some reason, a new window appears but the parameters don’t take nor does my file load.

Any help/advice is much appreciated.

Thanks,  
Joe :}

---

<div class="post-metadata">

**Author:** ![lunatic](https://avatars.discourse-cdn.com/v4/letter/l/73ab20/32.png) [@lunatic](https://forum.kirupa.com/u/lunatic)\
**Post date:** [April 24, 2006, 7:23pm UTC](https://forum.kirupa.com/t/problem-with-opening-a-new-window-need-input/186804/2 "2006-04-24T19:23:15Z")

</div>

Try this tutorial instead?

[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)
