Basically, i am trying out i think it is lostinbeta’s or voetjoeba’s code for a popup window in flash mx 2004. It works perfectly in FF but not in IE, there is no popup in IE and i know for sure it isnt the popup blocker.
Here is the A/S code on the first keyframe:
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);");
};
and on the buttons:
on (release) {
address = "videos/djkbparty.html";
target_winName = "DJK Block Party";
width = 248;
height = 196;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
Anyone have any idea of how to make it work in IE. Help is extremely appreciated at this moment.
Adios!