Help guys! code on flash mx not working anymore on mx 2004

Hi Guys, i think i need your help:) ok i have a button in flash when i click that button a pop up window will appear containing an animation, and that window should be the same size as the animation, i have a code before that i use, but now its not working on flash mx 2004.

heres the code i use before:

on (release) {
unloadMovieNum(3);
getURL(“javascript:launchwin(‘teaser2.html’ , ‘newwindow’ , ‘height=400,width=550,left=’+((screen.width-550)/2)+’,top=’+((screen.height-400)/2)+’’)”);
}

hope someone could fix this code for me, or maybe you have a more tighter code that i could use.

thanks in advance guys!! cheers!!!