# getURL differences between V8 and MX2004?

**URL:** <https://forum.kirupa.com/t/geturl-differences-between-v8-and-mx2004/193155>\
**Category:** flash\
**Created:** [July 4, 2006, 8:16pm UTC](https://forum.kirupa.com/t/geturl-differences-between-v8-and-mx2004/193155 "2006-07-04T20:16:21Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![carlCartesian](https://avatars.discourse-cdn.com/v4/letter/c/71c47a/32.png) [@carlCartesian](https://forum.kirupa.com/u/carlCartesian)\
**Post date:** [July 4, 2006, 8:16pm UTC](https://forum.kirupa.com/t/geturl-differences-between-v8-and-mx2004/193155/1 "2006-07-04T20:16:21Z")

</div>

Hey,

So, I’ve spent the last few days trying to figure out the last of my publishing issues, namely, how to launch a new window (of fixed width and height) from a load page.

I’ve read many tutorials, all indicating the same solution, which seems to work well for MX or older…but I can’t seem to publish it properly from Version 8 and have a new window open. I retro-tested it, publishing it under version 5 and it worked, but in v8, the HTML doesn’t launch a new window. I’m definately at a loss at this point. here’s what I have…

loadObj.btn\_Up.onRelease = function() { getURL(“javascript:openNewWindow(‘[http://www.macromedia.com](http://www.macromedia.com)’,‘thewin’,‘height=400,width=400,toolbar=no,scrollbars=yes’)”, “\_blank”, “GET”);  
}

and in the html file, I insert this code above the \</header\> tag

\<script language=“JavaScript”\>  
function openNewWindow(URLtoOpen, windowName, windowFeatures) {  
newWindow=window.open(URLtoOpen, windowName, windowFeatures); }  
\</script\>

my publishing settings are as such…

flash Player 8, access network only…

any help would greatly be appreciated. what do you all think… Has anyone run across a similar problem. I feel like the problem is on the flash end, not the HTML side…

thanks

Cs
