i have a pop-up window problem. I have the script in my index.html header tag where it belongs and where my main swf movie is. Now the button within flash that calls for the pop up to happen is in an external swf file that is loaded into the main file. Do I need somekind of directory change?

this is what i have in flash:
on (release) {
getURL ("javascript:WinOpen()");
}