# Using mailto and AIM in flash

**URL:** <https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365>\
**Category:** flash\
**Created:** [November 13, 2003, 3:29am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365 "2003-11-13T03:29:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Digigamer](https://yyz1.discourse-cdn.com/flex011/user_avatar/forum.kirupa.com/digigamer/32/276_2.png) [@Digigamer](https://forum.kirupa.com/u/Digigamer)\
**Post date:** [November 13, 2003, 3:29am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365/1 "2003-11-13T03:29:09Z")

</div>

I’m trying to follow the flash 5 tutorial located [here](http://www.kirupa.com/developer/flash5/emailaim.htm) but its not working. I’m doing the e-mail one first and the AS im using is:  
[AS]  
on (release) {  
getURL(“mailto: [admin@airspacedesigns.com](mailto:admin@airspacedesigns.com)”);  
}  
[/AS]

If it makes any difference I’m applying it to a movie clip instead of a button against what the tutorial says.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 3:54am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365/2 "2003-11-13T03:54:56Z")

</div>

if it’s in a movie clip you’ll prob need

```auto

on (release) {
        this.getURL("mailto: [email]admin@airspacedesigns.com[/email]");
}

```

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 4:05am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365/3 "2003-11-13T04:05:36Z")

</div>

Nope that didn’t work. I got the AIM thing to work but the e-mail one still isn’t working. I did however descide that I didn’t want/need them as movie clips for I made them buttons but the mailto sstill isn’t working ☹

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 4:27am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365/4 "2003-11-13T04:27:59Z")

</div>

ahh works. I put the swf online and it works now. Apparently the mailto function doesn’t work when your just previewing it from flash, you need to put it on the net.

---

<div class="post-metadata">

**Author:** ![system](https://canada1.discourse-cdn.com/flex011/uploads/kirupa/original/3X/6/2/621e5c11736f46532526e61be85940af4230f3e5.png) [@system](https://forum.kirupa.com/u/system)\
**Post date:** [November 13, 2003, 4:55am UTC](https://forum.kirupa.com/t/using-mailto-and-aim-in-flash/35365/5 "2003-11-13T04:55:50Z")

</div>

it works if you publish it also before uploading it
