Ok, I am going to give you something completely different. I am going to give you a centered pop up script I wrote a while back that allows for you to change the size and location of the window for each link (board my add extra spaces to the script that you may have to remove)…
<SCRIPT LANUGAGE="javascript">
<!--
function newWin(page,winName,w,h,scrollb,resize) {
var win=null;
centerWidth = (screen.width) ? (screen.width-w)/2 : 0;
centerHeight = (screen.height) ? (screen.height-h)/2 : 0;
settings =
'height='+h+',width='+w+',top='+centerHeight+',left='+centerWidth+',scrollbars='+scrollb+',resizable='+resize+''
win = window.open(page,winName,settings);
}
-->
</SCRIPT>
Add the above script in between the head tags of your html page.
Call the link in Flash with this…
on (release) {
getURL("javascript:newWin('http://www.lostinbeta.com','lostinbeta','300','200','no','no')");
}
What this does…
The first part is obviously the URL, the next is the window name (no spaces), then it is the width, then height, and if it is scrollable, and last but not least, if it is resizeable (you can replace no with yes, or use the standard 0 for false and 1 for true way).
I hope this helps. Works out of both Flash 5 and MX.