Problem with GETURL function

i want to open my links.html page in to the Right frame of my index page.
i couldn’t do this using a flash button.

this is the script i used

on (release) {
getURL(“links.html”, “rightFrame”);
}

but still its open in a new window.So How can i over come this problem?
Please help me.