Copy link to clipboard
Copied
Hi. Does anyone have a simple as3 code that will have a button open up a mail client (outlook, apple mail, etc.)?
I have found some but they all open up an empty web browser at the same time which isn't exactly professional. Thx.
Copy link to clipboard
Copied
The code you found is probably fine. When you place the file on a server, those empty web pages are unlikely to open. It will happen in the authoring envirnment when you are testing a Flash file--some things with Flash have to be tested live to confirm proper behavior.
In any case, you should show the code in case there is something amiss with it.
Copy link to clipboard
Copied
Have you tried it in the browser?
It should work fine when actually online. In fact, I just tested and got no blank window.
navigateToURL(new URLRequest("mailto:someone@somewhere.com"));
Copy link to clipboard
Copied
Dang fast Ned!
Copy link to clipboard
Copied
Hey thanks. I never thought of trying to publish it!
Copy link to clipboard
Copied
You're welcome