Hi,
im trying to create a pop up window that appears when a button is pressed. The issue i am having trouble with is i want the popup window to be strictly the same size as the flash movie it is displaying (notice board.swf)800 x 500 so i have no border. Is this something i can edit in the notice board.html code or does it need javascript. i tried using code below generated using the pop up generator in the link below but the pop up window would appear and then immediatley disappear. Any ideas??thankyou all for your constant help!!without kirupa i would be a nervous wreck!
on (release) {
getURL (“javascript:NewWindow=window.open(‘notice board.swf’,‘newWin’,‘width=800,height=500,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)-(800/2); top_point = parseInt(screen_height/2)-(500/2); setTimeout(‘NewWindow.moveTo(left_point,top_point)’,100); void(0);”);
}
[[FONT=Arial][COLOR=#800080]http://www.flash-db.com/PopUp/PopUp.html[/COLOR][/FONT]](javascript:ol(‘http://www.flash-db.com/PopUp/PopUp.html’)