Right Click Menu problem

Hi, I’ve got a problem with fixing a right click menu. I made a tutorial some where on the web and I want to use the code to all my flashfiles. So now I’ve copied the layer from my tutorial file and paste on all my files. But now when I test them some work but others don’t work. Is there a problem I don’t know of. This is my code:

// Custom Flash Menu

function deadClick () {
}

function gotoMySite () {
getURL(“http://www.mysite.com”, “_top”);
}

var myMenu:ContextMenu = new ContextMenu();
myMenu.hideBuiltInItems();

var copyrightNotice:ContextMenuItem = new ContextMenuItem(“Copyright © 2006 VinnieB”, deadClick);
copyrightNotice.separatorBefore = true;
var mySiteLink:ContextMenuItem = new ContextMenuItem(“www.mysite.com”, gotoMySite);

myMenu.customItems.push(mySiteLink, copyrightNotice);

_root.menu = myMenu;