-- online Search!
Look, an author!

AIM/Mail Button

by Edwin Rosero   | filed under Flash and ActionScript

Archive

This is an archived tutorial about Flash. It's kept for history and may reference outdated tech.

TL;DR

You'll build two Flash buttons: one that opens an AOL Instant Messenger window with your screen name and message, and one that opens a mail message to you. Both are just shapes converted to buttons with F8, using an on mouse event and a Get URL action pointing at a special address.

  • For the AIM button, the Get URL field holds aim:GoIM?ScreenName=YOURSN&message=YOUR MESSAGE with your own screen name and message filled in.
  • For the Mail button, the Get URL field holds a mailto: address such as mailto:youremail@something.com so visitors can contact you.
  • Draw a shape like a circle on the stage, press F8, and pick the button behavior to turn it into a button.
  • Before starting, set the frame rate to 30fps through Modify > Movie.

In this tutorial we will create a Button that when pressed will open up an AOL Instant Messenger window with your ScreenName and your desired message. We will also create a Mail button, so that clients can contact you through mail. Before reading this tutorial Launch FLASH and make sure your frame rate is at 30fps. You can edit the movie properties by going to Modify>movie . Lets begin...

AIM Button:

Step 1.

The black circle with its symbol settings open

[click image for larger picture]

-Draw out your button on the main stage, In this case a circle, and convertit into a button by pressing F8 and selecting the button behavior.

Step 2.

AIMactions

[click image for larger picture]

-Right Click on the button and choose actions. Then go to Basic Actions>on mouse eventThen go to Bassic Action> get URL. Under URL: type in aim:GoIM?ScreenName=YOURSN&message=YOUR MESSAGE .

Mail Button:

Step 1.

The black circle with its symbol settings open

[click image for larger picture]

-Draw out your button on the main stage, In this case a circle, and convertit into a button by pressing F8 and selecting the button behavior.

Step 2.

Mailactions

[click image for larger picture]

-Right Click on the button and choose actions. Then go to Basic Actions>on mouse eventthen go to Basic actions> get URL. under URL: type in mailto: youremail@something.com.

The final animation should look like this:

Before you go, here are a few things you can do:

  1. Ask a question

    Stuck on something, or curious about a detail we skipped? Ask on the forums, and we’ll help you out.

Just a final word before we wrap up. What you've seen here is freshly baked content without added preservatives, artificial intelligence, ads, and algorithm-driven doodads. A huge thank you to all of you who buy kirupa's books, became a paid subscriber, watch the videos, and/or interact on the forums.

Your support keeps this site going! 😇

-Edwin Rosero

The KIRUPA Newsletter

Thought provoking content that lives at the intersection of design 🎨, development 🤖, and business 💰 - delivered weekly to over a bazillion subscribers!

SUBSCRIBE NOW

Creating engaging and entertaining content for designers and developers since 1998.

Follow:

Popular

Loose Ends

:: Copyright © KIRUPA 2026 //--