add a web link to a popup menu
I'm publishing to HTML5 and I have a button on a graphic that causes a popup menu to appear. I want each menuitem to launch a webpage. I have a hotspot over the menu graphic and am trying to put a web link to it, but not getting the actionscript right. i tried adding it within the menuitem symbol using:
this.updates_june.addEventListener("click", fl_ClickToGoToWebPage_7);
function fl_ClickToGoToWebPage_7() {
window.open("http://www.adobe.com", "_blank");
}
and also on the main level using:
this.menu_june.updates_june.addEventListener("click", fl_ClickToGoToWebPage_7);
function fl_ClickToGoToWebPage_7() {
window.open("http://www.adobe.com", "_blank");
}
neither seems to work. The popup menu appears fine when I mouseover the graphic.
