Answered
AS3 Button action
I am producing a project for my employer and a button is
giving me fits. It does work in all tested browsers/platforms, but
the primary distribution will be via email and this is where the
trouble appears. It is a simple button that should only open a URL
in a browser window.
Here's the AS3 action I'm using on a button:
function gotoURL2(event:MouseEvent) {
var url = new URLRequest(' http://www.domain.com/');
navigateToURL(url, '_blank');
}
signup_btn.addEventListener(MouseEvent.CLICK, gotoURL2);
Is there anything that would prohibit this from working when viewed in an email client? Is it possible that a publishing setting is wrong? I've run this 100 different ways and I can't find it.
Thanks
Here's the AS3 action I'm using on a button:
function gotoURL2(event:MouseEvent) {
var url = new URLRequest(' http://www.domain.com/');
navigateToURL(url, '_blank');
}
signup_btn.addEventListener(MouseEvent.CLICK, gotoURL2);
Is there anything that would prohibit this from working when viewed in an email client? Is it possible that a publishing setting is wrong? I've run this 100 different ways and I can't find it.
Thanks