kon flash 5 nn si usava dare questa as dall'interno del movie per aprire una pop up ?

Movieclip.prototype.centra = function (nome, titolo, lar, alt, feat) { getURL ("javascript:var x = Math.round((screen.width/2)-("+lar+"/2));var y=((screen.height/2)-("+alt+"/2));window.open('"+nome+"','"+titolo+"','width="+l ar+",height="+alt+",screenX=' + x + ',left=' + x + ',screenY=' + y + ',top=' + y + ',"+feat+"');void(0);");};

kome mai ora MX nn apre la pop up e dice ke c'è un errore?
sapete dirmi il kodice giusto?