Closing a pop window in flash - yes I know, I know

Hey there,
Before anyone freaks out, yes I have searched and read up on this for hours now and I can’t seem to be get it right…

Simple…close a pop up window from flash.

The code that opens the pop up has this code: (from kirupa)
on (release) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = “http://www.blagh.com/pop-up.htm”;
target_winName = “music”;
width = 250;
height = 90;
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);
}

and the button to close the pop up is this:

on (release) {
getURL(“javascript:window.close(’/pop-up.htm’);”);

However, this closes the parent window and leaves the pop up open…

Have tried this in various ways but nothing seems to work??

any help VERY much appreciated…

cheers
Jain