Popup centered problem

Hello everyone

i followed the centered popup tutorial without anyproblem and made some popup , at the good size and everything worked perfect exept that suddenly they stopped getting at the size i wanted (without even touching the code)

here is the code i used on the buttons ( you can notice that i changed names so i can open 2 popups at the same time , but the problem was already here before i changed it i think (not so sure now lol) so i dont think its that but maybe it is so you tell me :p)

 on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "chatbox/index.php";
target_winName = "chat";
width = 250 ;
height = 400 ;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}

and 2nd button

on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "lecteur/mp3player.html";
target_winName = "plop";
width = 300;
height = 320;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 1;
resizable = 0;
//sends data back to the function
openWinCentre1(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);
}
on (release) {
_root.contents.loadMovie("mp3.swf");
}

and finally here i the code on the action layer (it s marked _global. but i tryed _root. this. and everything)

_global.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);");
}
_global.openWinCentre1 = function (url, winName1, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) { 
getURL ("javascript:var myWin1; if(!myWin1 || myWin1.closed){myWin1 = 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{myWin1.focus();};void(0);");
}

you can see the problem here [url=“http://www.theplop.new.fr/”]http://www.theplop.new.fr or in the FLA [url=“http://savageeden.free.fr/main2.fla”]here [url=“http://savageeden.free.fr/main2.fla”]http://savageeden.free.fr/main2.fla : (the 2 pop ups are on “chatbox” and “plopradio” buttons)
Thanks you very much for helping

A little frenchy flash noob boy :stuck_out_tongue: