Skip to main content
Known Participant
September 11, 2013
Question

mailto: link working everywhere except Chrome

  • September 11, 2013
  • 2 replies
  • 26081 views

In all of my AS2 and AS3 sites, the mailto: links work wonderfully in; Firefox, Safari, IE but not in Chrome.  A regulare HTML mailto: will work in Chrome but not my AS2 or AS3 generated ones. In Chrome if the link is set to go to mailto:name@domain.com, Chrome then puts mailto:name@domain.com in the address bar and gives the message:

This webpage is not available  

The webpage at mailto:name@domain.com might be temporarily down or it may have moved permanently to a new web address.

Error code: ERR_UNKNOWN_URL_SCHEME

If I refresh this page that is set to go to mailto:name@domain.com , then it works.

Example here: http://villagegreenstudios.com/view11/

The top "Email Button" is an AS3 coded Flash button. 

The middle "Email Text" is a Flash generated text link.

The bottom "html email text" is HTML coded in the the index.html page itself.

All 3 work in all browsers except Chrome where only the bottom one works.

My computer has my Entourage set as the default email program.  If I use the Chrome gmail plugin, the top 2 will work but then on FF and Safari the links try to open a Chrome window and this misses the point anyway as I want sites that I built for clients to have operable mailto: links in all browsers.

The Flash version  in above version is 11.4 but even in older versions, including AS2 versions, they do the same thing.  I have tried various versions of the code with no luck.  If it helps, here is the code used the above "Email Button" version:

//email button//

function goemail(event:MouseEvent):void {

          navigateToURL(new URLRequest("mailto:name@domain.com"));

}

emailBtn.addEventListener(MouseEvent.CLICK,goemail);

In AS2 I simply use:

on (release) {

          getURL("mailto:curt@curtbyk.com");

}

Help?

This topic has been closed for replies.

2 replies

Adobe Employee
October 16, 2013

Hello,

I work on the flash runtime team and we'd like to investigate your problem further.

Could you please log a new bug on this over at https://bugbase.adobe.com/ for adobe flash player.

When adding the bug, please include sample code so we can quickly test this out internally. If you would like to keep this private, feel free to e-mail the attachment to me (jiyuan@adobe.com) directly and I will attach it to the bug for internal use only.

Inspiring
September 11, 2013

What version of Chrome?

smaudlinAuthor
Known Participant
September 11, 2013

Thanks for replying.

Version 29.0.1547.65

 

Google Chrome is up to date.

smaudlinAuthor
Known Participant
September 11, 2013

On Mac? It works for me but I just had a client complain just today about this same problem using the exact same version of Chrome. I got here googling to research it. I'm on WIndows with a slightly older version of Chrome (.57 instead of .65), but I'm going to update Chrome and see if I can reproduce it, and try workarounds. I'll let you know how it goes.

I'm going to try using ExternalInterface to trigger the mailto link.

-Aaron


Thanks Aaron. The version of Chrome as the issue would make sense as I

don¹t have hundreds of clients emailing me in despair. If you figure it

out, please let me know.