# Popup for flashplayer 7

**URL:** <https://forum.kirupa.com/t/popup-for-flashplayer-7/139453>\
**Category:** Uncategorized\
**Created:** [March 3, 2005, 2:49am UTC](https://forum.kirupa.com/t/popup-for-flashplayer-7/139453 "2005-03-03T02:49:45Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jorne](https://avatars.discourse-cdn.com/v4/letter/j/71e660/32.png) [@Jorne](https://forum.kirupa.com/u/Jorne)\
**Post date:** [March 3, 2005, 2:49am UTC](https://forum.kirupa.com/t/popup-for-flashplayer-7/139453/1 "2005-03-03T02:49:45Z")

</div>

[size=3][font=Times New Roman]Hello everybody,[/font][/size]

[size=3][font=Times New Roman]I was trying out some tutorials for how to make a pupup-window in flash. [/font][/size][size=3][font=Times New Roman]But what ever I did, it didn’t work at all! I tried the tutorial ‘ **Launching** a Centered Pop-Up Window’… What I saw is that this tutorial was written for flashplayer 5 and not for flashplayer 7. (when you download the file you’l see…)[/font][/size]

[size=3][font=Times New Roman]What I actually want is just to let it work in flashplayer 7 too![/font][/size]

[size=3][font=Times New Roman]I already know a proper way for flashplayer 6, but that one doesn’t work for nr7…[/font][/size]

[size=3][font=Times New Roman]Thanks for all your help and advise.[/font][/size]  
[size=3][font=Times New Roman]Jorne[/font][/size]

[font=Times New Roman][size=3]This what I did for nr6 but doesn’t work for nr7:[/size][/font]  
[size=1]on (release) {[/size]  
[size=1]Movieclip.prototype.openWin1 = function(url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) {[/size]  
[size=1]getURL(“javascript:var myWin1; if(!myWin1 || myWin1.closed){myWin1 = window.open(’”+url+"’, ‘"+winName+"’, ‘"+“width=”+w+", height="+h+", toolbar="+toolbar+", location="+location+", directories="+directories+", status="+status+", menubar="+menubar+", scrollbars="+scrollbars+", resizable="+resizable+", top=’+((screen.height/2)-("+h/2+"))+’, left=’+((screen.width/2)-("+w/2+"))+’"+"’)} else{myWin1.focus();};void(0);");[/size]  
[size=1]};[/size]  
[size=1]address = “JORNEPORTFOLIO.htm”;[/size]  
[size=1]winName = “window1”;[/size]  
[size=1]width = 800;[/size]  
[size=1]height = 400;[/size]  
[size=1]toolbar = 0;[/size]  
[size=1]location = 0;[/size]  
[size=1]directories = 0;[/size]  
[size=1]status = 0;[/size]  
[size=1]menubar = 0;[/size]  
[size=1]scrollbars = 0;[/size]  
[size=1]resizable = 0;[/size]  
[size=1]openWin1(address, winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);[/size]  
[size=1]}[/size]
