Hello,
I am working on a flash website, currently there is a java script function that opens a popup window in my flash movie.
This function works fine in Firefox, however does not work in Internet explorer, any ideas?
Frame Code
openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable)
{
getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = window.open('" + url + "','" + winName + "','" + "width=" + w + ",height=" + h + ",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 + "))+'" + "')}else{myWin.focus();};void(0);");
}
stop();
Button Code
on (release) {
stopAllSounds(); //Stop any background sounds
address = "http://www.funkohland.com/atriaband.com/PopoutPlayer/index-LowQuality.html";
target_winName = "Atria EP Streaming";
width = 300;
height = 300;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 1;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
Thank you in advance
-Scott