Help with close to solution!

I am using this method to open a new window from a flash movie on a html page.

which seems to work perfectly for me in Firefox, but in IE the new windows do not open.

I initially thought it may the the fact that i wasnt using swfobject…so introduced that. Putting the swfobject.js into the same directory as the html and swf.

My html for the test page is:

<html xmlns="" xml:lang="en" lang="en">
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<body bgcolor="#d9ecff">
<!--url's used in the movie-->
<!--text used in the movie-->
<!-- saved from url=(0013)about:internet -->
<script type="text/javascript" src="swfobject.js"></script>

<div id="flashcontent">
This text is replaced by the Flash movie.

<script type="text/javascript">
var so = new SWFObject("covers.swf", "covers", "308", "211", "8", "#D9ECFF");

The above has seemed to have solved the problem with IE putting an initial boarder around the flash… but the pop up window still wont work.(but it does in Firefox)

At the bottom corner of the IE browser window is a yellow warning triangle double clicking that comes back with the following note:

Line: 1
Char: 1
Error: Invalid Arguement
Code: 0

do you think there may be a problem with the flash code withing the swf rather than the swfobject issue?

Here is the code i am using within my flash file:



myLink = function(param,name,w,h,a,b,c,d,e,f,g){
sUrl = "http://"+param;
resx = System.capabilities.screenResolutionX;
resy = System.capabilities.screenResolutionY;
lft = resx/2 - w/2;
tp = resy/2 - h/2;


	myLink("","Cover 1",265,350,"no","no","no","no","no","no","no");

any idea what wrong?

I thought that perhaps it was because I was putting the code within a movie clip, rather than on the main timeline.

But I did another test using the same code i am using. This time i started a new project and tested the above code on the main timeline and the button on the main stage.

I tested in FF and was fine, tested in IE and the same error happened.

Its weird that its working fine in FF but not in IE.