Pop-up browser window activated by onLoad

Simple problem, but I’m looking for the right execution. I have a movie that contains a single movie clip. I want that movie clip to load a new browser window when it’s loaded. Something like this:

onClipEvent (load) {
//customize the window that gets opened
// 0 equals NO.
// 1 equals YES.
address = “config.html”;
target_winName = “test”;
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);
}

This doesn’t work. Will Flash only accept this type of action through button interactivity or is it possible to do it with a clip event?