How to Create an Email Button in Flash

How to Create an Email Button in Flash thumbnail
Email button.

You can create many types of buttons in Adobe Flash, one of which is an email button. When users click on an email button, it opens an email service, such as Microsoft Outlook Express, allowing them to easily send an email to a recipient. Creating an email button is simple and only requires a small bit of ActionScript code. When creating an email button, be sure to use ActionScript 2.0.

Instructions

    • 1

      Start Adobe Flash and open a new ActionScript 2.0 Flash document.

    • 2

      Select a shape tool, such as the rectangle tool, and use it to create a shape that you will use for your email button.

    • 3

      Click on the selection tool and use it to select the shape that you just created.

    • 4

      Right-click on your selection and select the "Convert to Symbol..." option. You can also simply press "F8" on your keyboard. This will bring up the symbol-conversion menu.

    • 5

      Name your symbol, or leave the name it gives you. Under "Type," select the "Button" option. Click "OK" to convert your shape into a button.

    • 6

      Select your button and press "F9" on your keyboard to bring up the Actions menu.

    • 7

      Insert this bit of code in the Actions field:

      on(press){
      getURL("mailto:email@example.com");
      }

      Replace the email address above with the email that you wish your email button to link to.

Related Searches:

References

  • Photo Credit logo email image by Jesse-lee Lang from Fotolia.com

Comments

You May Also Like

Related Ads

Featured