I think the title says it all…
I tried making a button and have the alpha to 0, but will not go to link.
I have a button that links to site
function gotoSite(event:MouseEvent):void
{
var nameURL:URLRequest = new URLRequest("http://www.site.com/");
navigateToURL(nameURL);
}
btn1.addEventListener(MouseEvent.CLICK, gotoSite);
then I tried adding in the other button (over the entire movie) below the btn1…
btnMovie.addEventListener(MouseEvent.CLICK, gotoSite);
and it will not work… is there another way for me to do this?
Thanks