Opening custom window from flash... having issues!

Hello,
I have been banging my head on how to open a custom browser windwo from my flash file.

I am setting the javascript correctly (here is the code).
on (release) {
getURL (“javascript:openNewWindow(‘new_pop_up.html’,‘thewin’,‘height=100,width=250,toolbar=no,scrollbars=yes’);”);
}

Then in the html file I wish to open, I have aded the following code:
[COLOR=black]<script language=“JavaScript”>
function openNewWindow(URLtoOpen, windowName, windowFeatures) {
newWindow=window.open(URLtoOpen, windowName, windowFeatures);
}
</script>[/COLOR]

[COLOR=black]And in my html file that houses the flash file, I have added swLiveConnect=“true” NAME=“mainintro01.swf” to the embed tag.[/COLOR]

It works for the example I found (http://www.actionscript.org/tutorials/beginner/PopUp_window_within_flash/index.shtml) but not for me.

I know this isn’t the example provided at Kirupa, but I tried that too and got nothing.

Any help on this is much appreciated!!!

Thanks,
Joe :crazy: