# PROBLEMS with mailto in flash?

**URL:** <https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697>\
**Category:** flash\
**Created:** [April 8, 2003, 11:20am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697 "2003-04-08T11:20:57Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![naughtyb](https://avatars.discourse-cdn.com/v4/letter/n/8e7dd6/32.png) [@naughtyb](https://forum.kirupa.com/u/naughtyb)\
**Post date:** [April 8, 2003, 11:20am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/1 "2003-04-08T11:20:57Z")

</div>

How can i use this  
\<a [herf=mailto:yourmail@yoursite.com](mailto:herf=mailto:yourmail@yoursite.com)\>mail us\</a\>  
script in flash ?

---

<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:** [April 8, 2003, 11:38am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/2 "2003-04-08T11:38:17Z")

</div>

by setting the value of the html property of your dynamic text box to ‘true’ and then using htmlText like this:

```auto

myTextBox.html = true;
myTextBox.htmlText = "<A href='mailto:me@somewhere.com'>me@somewhere.com</A>";

```

---

<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:** [April 8, 2003, 11:45am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/3 "2003-04-08T11:45:36Z")

</div>

Ok,  
AND where can i put that script?  
And IF i click a button this script runs like html mailto script.

---

<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:** [April 8, 2003, 3:48pm UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/4 "2003-04-08T15:48:59Z")

</div>

I’m sorry, I misunderstood you at first. (been messing around with those dynamic textboxes and stuff too much lately I guess…)

Create a button and place the following script on it:

```auto

on(release){
  getURL('mailto:me@somewhere.com');	
}

```

Hope this is what you meant?

---

<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:** [April 10, 2003, 2:44pm UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/5 "2003-04-10T14:44:39Z")

</div>

Thanks. Flashmatazz.  
That’s what i need. and i’m a new flash student. so in future can i ask problems which i cann’t solve?

---

<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:** [April 10, 2003, 6:56pm UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/6 "2003-04-10T18:56:32Z")

</div>

No problem!

btw, I’m also far from being an expert in Flash, unfortunately.  
But posting here and reading other people’s threads really helps a lot. (as does having a lot of patience…)

Cheers.

---

<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:** [April 11, 2003, 9:48am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/7 "2003-04-11T09:48:16Z")

</div>

Yeah. your site is cool. ya.

---

<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:** [April 11, 2003, 10:27am UTC](https://forum.kirupa.com/t/problems-with-mailto-in-flash/17697/8 "2003-04-11T10:27:32Z")

</div>

🙂 Thanks! Always good to hear that.
