• Global community
    • Language:
      • Deutsch
      • English
      • Español
      • Français
      • Português
  • 日本語コミュニティ
    Dedicated community for Japanese speakers
  • 한국 커뮤니티
    Dedicated community for Korean speakers
Exit
0

Need a simple email button actionscript 3

Community Beginner ,
Dec 10, 2009 Dec 10, 2009

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.

TOPICS
ActionScript

Views

757

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 10, 2009 Dec 10, 2009

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.

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 10, 2009 Dec 10, 2009

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"));

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Guest
Dec 10, 2009 Dec 10, 2009

Copy link to clipboard

Copied

Dang fast Ned!


Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Dec 10, 2009 Dec 10, 2009

Copy link to clipboard

Copied

Hey thanks. I never thought of trying to publish it!

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
LEGEND ,
Dec 10, 2009 Dec 10, 2009

Copy link to clipboard

Copied

LATEST

You're welcome

Votes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines