Non mi sembra php ma javascript, in ogni caso lo puoi fare direttamente in flash senza dover scrivere la funzione in html

on (release) {
//questo script centra la finestra nello schermo
wdth=300;
hdth=300
getURL ("javascript:window.open('info.html','nName','widt h=" add wdth add ",height=" add hdth add ",top='+((screen.availHeight/2)-(" add hdth/2 add "))+',left='+((screen.availWidth/2)-(" add wdth/2 add "))); void(0);");
}

Modificala in base alle tue esigenze

Ciao