I have tried every variant of AS3 hyperlink script out there, but my hyperlink will not do anything. When I view my swf (or FLV, I’ve tried both) in a browser, the mouse turns to a hand, like it recognizes that a hyperlink is there, but clicking does nothing.
Anyone have any ideas? I’m new to Flash so this might be user error, but I’ve exhausted all of the forum and help posts I can find.
Here is my script:
$PL;
stop();
Click_Here.addEventListener(MouseEvent.CLICK,onMouseClick);
function onMouseClick(event:MouseEvent):void
{
var request: URLRequest = new URLRequest(“http://pages.abiquo.com/HHGPC_Step_1.html”);
navigateToURL(request, “_blank”);
}
function init() {
Click_Here.addEventListener(MouseEvent.CLICK, WebHyperlink);
}
init();
function WebHyperlink(e:MouseEvent)
{
var web:URLRequest = new URLRequest(“http://pages.abiquo.com/HHGPC_Step_1.html”);
navigateToURL(web, “_blank”);
}