# Full Screen Question W Tutorial

**URL:** <https://forum.kirupa.com/t/full-screen-question-w-tutorial/193622>\
**Category:** flash\
**Created:** [July 14, 2006, 4:40pm UTC](https://forum.kirupa.com/t/full-screen-question-w-tutorial/193622 "2006-07-14T16:40:54Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![artistwantab](https://avatars.discourse-cdn.com/v4/letter/a/bbce88/32.png) [@artistwantab](https://forum.kirupa.com/u/artistwantab)\
**Post date:** [July 14, 2006, 4:40pm UTC](https://forum.kirupa.com/t/full-screen-question-w-tutorial/193622/1 "2006-07-14T16:40:54Z")

</div>

I using this tutorial to create a pop-up window.

I want a full screen pop-up. How do I modify this code to achieve that.

I have tried a number of solutions but no luck.

[http://www.kirupa.com/developer/mx/centered\_popup.htm](http://www.kirupa.com/developer/mx/centered_popup.htm)

[INDENT]

```auto
on (release) { //customize the window that gets opened // 0 equals NO. // 1 equals YES. address = "http://www.kirupa.com/modular/pop-up.htm"; target_winName = "kirupa"; width = 400; height = 300; toolbar = 0; location = 0; directories = 0; status = 0; menubar = 0; scrollbars = 1; resizable = 0; //sends data back to the function openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);}

```

Button Code

[INDENT]

```auto
_root.openWinCentre = function (url, winName, w, h, toolbar, location, directories, status, menubar, scrollbars, resizable) { getURL ("javascript:var myWin; if(!myWin || myWin.closed){myWin = 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{myWin.focus();};void(0);");}

```

```
				[/INDENT]
				[/INDENT]
```
