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’,‘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