Copy link to clipboard
Copied
In my project, we have a link to open a outlook mail. when i open the link in IE/Chrome/Firefox browser, it opens the outlook with the given mail id. But, same link was not working properly in safari browser.
I am using safari version 5.1.7(7534.57.2). When i click the link, it opens the outlook mail, but my current(Parent) window gets crashed.
Below is the sample code i used.
mc.addEventListener(MouseEvent.CLICK, sendEmail);
function sendEmail(e:MouseEvent):void{
navigateToURL(new URLRequest("mailto:name@domainname.com"));
}
Thank in advance
Copy link to clipboard
Copied
You could try specifying a new window and see if that helps.
navigateToURL(new URLRequest("mailto:name@domainname.com"), "_blank");
But if not, the code is fine so the problem likely lies with the brower.
Copy link to clipboard
Copied
Thanks for your reply..
We already tried that too. But doesn't work.
My problem is after clicking the link, my current window became black screen and it opens the outlook with the given mail id
we are not sure, whether the issue is related to flash player or safari browser.
Any idea?
Copy link to clipboard
Copied
I already indicated it will most likely be an issue with the Safari browser.
Find more inspiration, events, and resources on the new Adobe Community
Explore Now