Thank you for replying. No this doesn't work either... This is the code I'm using:
Code:
//Initialize
menu = new Menu();
menu.load("main");
menu.setMenu();
Menu.onCommand = function (id) {
switch (id) {
case "goto1":
FlashPlayer.targetGotoFrame("_root", 1);
break;
case "goto2":
FlashPlayer.targetGotoFrame("_root", 2);
break;
case "goto3":
FlashPlayer.targetGotoFrame("_root", 3);
break;
case "goto4":
FlashPlayer.targetGotoFrame("_root", 4);
break;
case "goto5":
FlashPlayer.targetGotoFrame("_root", 5);
break;
case "goto6":
FlashPlayer.targetGotoFrame("_root", 6);
break;
case "goto7":
FlashPlayer.targetGotoFrame("_root", 7);
break;
case "goto8":
FlashPlayer.targetGotoFrame("_root", 8);
break;
case "goto9":
FlashPlayer.targetGotoFrame("_root", 9);
break;
case "gotolink":
Shell.open("http://www.mysite");
break;
}
}
return true;