Calling Tinybox (or similar javascript popup) with AS2
Hey guys, :cap:
I'm trying to call this javascript function from my flash site:
http://www.leigeber.com/2009/05/javascript-popup-box/
Currently, I'm using good old:
PHP Code:
getURL ("javascript:NewWindow=window.open('forms/pregame/pregame.html','newWin','width=500,height=420,left=0,top=0,toolbar=No,location=No,scrollbars=No,status=No,resizable=No,fullscreen=No'); NewWindow.focus(); screen_height = window.screen.availHeight; screen_width = window.screen.availWidth; left_point = parseInt(screen_width/2)-(500/2); top_point = parseInt(screen_height/2)-(420/2); setTimeout('NewWindow.moveTo(left_point,top_point)',100); void(0);");
Can I use geturl with tinybox? How would I do it? Thanks a lot!