# Open in new windows

**URL:** <https://forum.kirupa.com/t/open-in-new-windows/111664>\
**Category:** Uncategorized\
**Created:** [May 29, 2004, 2:38pm UTC](https://forum.kirupa.com/t/open-in-new-windows/111664 "2004-05-29T14:38:50Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Santiago\_99](https://avatars.discourse-cdn.com/v4/letter/s/ecccb3/32.png) [@Santiago\_99](https://forum.kirupa.com/u/Santiago_99)\
**Post date:** [May 29, 2004, 2:38pm UTC](https://forum.kirupa.com/t/open-in-new-windows/111664/1 "2004-05-29T14:38:50Z")

</div>

Hi, I got a button with the following code:

on (release) {  
getURL(“[http://www.link2.it](http://www.link2.it)”);  
}

I want the link to open in a new window with height 540 and witdh 480, and I want the windows to use scrollbars and no toolbar.

I got a htmlcode for this and it looks like:  
\<A onclick=“window.open(‘sites/faq.htm’, ‘faq’, ‘toolbar=0,location=0,directories=0,status=0,menubar=no,scrollbars=yes,resizable=no,width=536,height=480,top=240,left=300’)” href=“javascript:void(’’)”\>\</a\>

could anyone help me to “translate” it so I could use it in flash?  
/thanks for answering, Ayaz

---

<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:** [May 29, 2004, 3:23pm UTC](https://forum.kirupa.com/t/open-in-new-windows/111664/2 "2004-05-29T15:23:22Z")

</div>

[http://www.kirupaforum.com/forums/showthread.php?t=41314&highlight=opening+javascript+windows](http://www.kirupaforum.com/forums/showthread.php?t=41314&highlight=opening+javascript+windows)
