# Stupid?

**URL:** <https://forum.kirupa.com/t/stupid/33678>\
**Category:** Uncategorized\
**Created:** [October 22, 2003, 12:36pm UTC](https://forum.kirupa.com/t/stupid/33678 "2003-10-22T12:36:20Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![spermpit](https://avatars.discourse-cdn.com/v4/letter/s/6bbea6/32.png) [@spermpit](https://forum.kirupa.com/u/spermpit)\
**Post date:** [October 22, 2003, 12:36pm UTC](https://forum.kirupa.com/t/stupid/33678/1 "2003-10-22T12:36:20Z")

</div>

I followed the displaying a pop window\_  
Everything went great  
Well I want to use the script on my site -  
But I don’t know what to put for the address- My site is not on the web , its still in flash . Would I put the name of the file EX. homepage\_blingbling.swf  
or do I do this in dreamweaver  
Please help

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);  
}

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 22, 2003, 1:48pm UTC](https://forum.kirupa.com/t/stupid/33678/2 "2003-10-22T13:48:01Z")

</div>

First you need to put your swf into an html file first and then apply the html file name into the script. So it would look something like this.

```auto
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = "yourhtmlpage.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);
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [October 22, 2003, 10:19pm UTC](https://forum.kirupa.com/t/stupid/33678/3 "2003-10-22T22:19:04Z")

</div>

Thanks electrongeek  
You rock
