Intro to the problem -
With AS3 I want that when people clicks an email address, it opens their email program. Therefore I do this:
mc.addEventListener(MouseEvent.CLICK, sendEmail);
function sendEmail(e:MouseEvent):void{<br />
navigateToURL(new URLRequest("mailto:[email protected]"));<br />
}
The problem: Every time a user clicks the movie clip, it opens their email program. However, the browser is opening a new window as well. How can I avoid the browser from opening the new window when clicking the movie clip that has the email address?