# Pop-up Tutorial Question

**URL:** <https://forum.kirupa.com/t/pop-up-tutorial-question/108589>\
**Category:** Uncategorized\
**Created:** [April 26, 2004, 9:12pm UTC](https://forum.kirupa.com/t/pop-up-tutorial-question/108589 "2004-04-26T21:12:03Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![Rob\_Hed](https://avatars.discourse-cdn.com/v4/letter/r/8e7dd6/32.png) [@Rob\_Hed](https://forum.kirupa.com/u/Rob_Hed)\
**Post date:** [April 26, 2004, 9:12pm UTC](https://forum.kirupa.com/t/pop-up-tutorial-question/108589/1 "2004-04-26T21:12:03Z")

</div>

In this tutorial, the address is going to an url but how would you direct this to a file on your local computer.  
Why can’t i just do address = “samples.html”; It should be soo simple but it doesn’t work.

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

on (release) {  
//customize the window that gets opened  
// 0 equals NO.  
// 1 equals YES.  
address = “[http://www.kirupa.com/modular/pop-up.htm](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);  
}
