I have a context menu I am working on. I am trying to add a me nu Item that when pressed it will bookmark the site in IE or Firefox.
This is what I have, but it is not working in either IE of FireFox
var myContxtMenu = new ContextMenu(); // myContxt will serve as our Context Menu object name
myContxtMenu.hideBuiltInItems();
_root.menu = myContxtMenu;
var item1:ContextMenuItem = new ContextMenuItem (“Bookmark”, markIt, true);
myContxt.customItems[0] = item1;
function markIt () {
getURL (“javascript:window.external.AddFavorite(‘http: //www.freedomland.com/’,'FL’);”);
}