# Open fixed browser window

**URL:** <https://forum.kirupa.com/t/open-fixed-browser-window/187530>\
**Category:** Uncategorized\
**Created:** [April 30, 2006, 4:21am UTC](https://forum.kirupa.com/t/open-fixed-browser-window/187530 "2006-04-30T04:21:28Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![pbrollwitme](https://avatars.discourse-cdn.com/v4/letter/p/439d5e/32.png) [@pbrollwitme](https://forum.kirupa.com/u/pbrollwitme)\
**Post date:** [April 30, 2006, 4:21am UTC](https://forum.kirupa.com/t/open-fixed-browser-window/187530/1 "2006-04-30T04:21:28Z")

</div>

I know there are a million tutorials, but none seem to work for me. I want to make a button in my flash open a new window with a fixed size. My AS is as follows:

on (release) {  
url = “template.swf?name=”+\_root.name+"&email="+\_root.email+"&cartid="+\_root.cartid+"&style="+\_root.style;  
getURL(“javascript:openWindow(‘url’,‘newWindow’,‘toolbar=0,location=0,directries=0,status=0,menubar=0,scrollbars=0,resizable=0,width=550,height=500,left=80,top=180’)”);  
}

The function is working, however, it can’t find the url because it thinks the url is ‘url’. I tried making it url instead of ‘url’ but then it came up as an error. So I guess my question is, how can I pass my url var to the javascript??  
thanks everyone!  
Mat
