# \[ Centered Pop Up Window \]

**URL:** https://forum.kirupa.com/t/centered-pop-up-window/86470
**Category:** flash
**Created:** [April 13, 2005, 8:34am UTC](https://forum.kirupa.com/t/centered-pop-up-window/86470 "2005-04-13T08:34:57Z")
**Posts on this page:** 1
**Page:** 1

<div class="post-metadata">

### Author: ![B3NKobe](https://avatars.discourse-cdn.com/v4/letter/b/ce7236/32.png) [@B3NKobe](https://forum.kirupa.com/u/B3NKobe)
#### Post date: [April 13, 2005, 8:34am UTC](https://forum.kirupa.com/t/centered-pop-up-window/86470/1 "2005-04-13T08:34:57Z")

</div>

Im trying to do the Centered Pop Up Window, its working, except it wont link to my files for some reason, iv searched the forums, couldnt find anything on this.

The piece of code:

```auto
 address = "barbedlife.html";

```

wont work, its hard to explain, the link works if it is linked to a URL such as [www.kirupa.com](http://www.kirupa.com), but if im trying to link it to a html file on my harddrive it wont link?

Iv spent the past hour on this, iv made sure my link is correct, tried different html files etc, just cant get it working!!

Here is the whole code that is on the button, but you shouldnt need it.

```auto
on (release) {

	address = "barbedlife.html";
	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);

	}

```
