Centered Pop-Up Window Tutorial help

I followed all of the instructions, but it won’t seem to open the file correctly. The file is a .swf so that might be why, but I’m hoping not.

this is my coding in the “action” of the button which should start the popup

on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = “index3.swf”;
target_winName = “1337 TOONS”;
width = 650;
height = 525;
toolbar = 0;
location = 0;
directories = 0;
status = 0;
menubar = 0;
scrollbars = 0;
resizable = 0;
//sends data back to the function
openWinCentre(address, target_winName, width, height, toolbar, location, directories, status, menubar, scrollbars, resizable);

it IS in the correct directory and everything. For some reason the regular site won’t work on an HTML page… If this doesn’t work then I will post that problem on this site. I’ve posted it on the Macromedia forums at least 3 times with no answer. :frowning:

so for now just please try to help with this popup problem

well I have it imbedded (ctrl+alt+f in dreamweaver). But the borders man, the borders

So the prob is that DW wont let you place the swf in the absolute top left of the page, yes? You can use layers to get around this. First, remove the swf from the page. Insert a new layer. (menu:insert>>layer) position your layer at 0,0. Now click into the layer so that its selected, and now insert your swf into the layer. No excess bg in the top/left.=]