I have a movie clip which contains the thumbnail for an image. On the movie clip I have the following action:
on(press) {
address = _root.gallerycontainer.pathToFullPics+_root.gallerycontainer.fArray[_root.gallerycontainer.pIndex-5];
target_winName = " width = 550;
height = 450;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 1;
getURL ("javascript:myWin = window.open('" + address + "','" + target_winName + "','" + "width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "'); void(0);");
}
So when you click the movie clip, it opens the full-sized image in a new browser window. The problem is that it works fine in all browsers except internet explorer, which simply returns the error "invalid argument at line 0". Any ideas what could be wrong.
Any help greatly appreciated. Thanks.
P.S. if you wanna check out the part of the site i'm talking about, click on portfolio > animations ? click on one of the images.
on(press) {
address = _root.gallerycontainer.pathToFullPics+_root.gallerycontainer.fArray[_root.gallerycontainer.pIndex-5];
target_winName = " width = 550;
height = 450;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 1;
getURL ("javascript:myWin = window.open('" + address + "','" + target_winName + "','" + "width=" + width + ",height=" + height + ",toolbar=" + toolbar + ",location=" + location + ",directories=" + directories + ",status=" + status + ",menubar=" + menubar + ",scrollbars=" + scrollbars + ",resizable=" + resizable + ",top='+((screen.height/2)-(" + h/2 + "))+',left='+((screen.width/2)-(" + w/2 + "))+'" + "'); void(0);");
}
So when you click the movie clip, it opens the full-sized image in a new browser window. The problem is that it works fine in all browsers except internet explorer, which simply returns the error "invalid argument at line 0". Any ideas what could be wrong.
Any help greatly appreciated. Thanks.
P.S. if you wanna check out the part of the site i'm talking about, click on portfolio > animations ? click on one of the images.