# Open email client through link in text-file loaded in flash?

**URL:** <https://forum.kirupa.com/t/open-email-client-through-link-in-text-file-loaded-in-flash/191555>\
**Category:** flash\
**Created:** [June 21, 2006, 9:35am UTC](https://forum.kirupa.com/t/open-email-client-through-link-in-text-file-loaded-in-flash/191555 "2006-06-21T09:35:27Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![roeligan](https://avatars.discourse-cdn.com/v4/letter/r/df705f/32.png) [@roeligan](https://forum.kirupa.com/u/roeligan)\
**Post date:** [June 21, 2006, 9:35am UTC](https://forum.kirupa.com/t/open-email-client-through-link-in-text-file-loaded-in-flash/191555/1 "2006-06-21T09:35:27Z")

</div>

Hi,

My flash document contain a few buttons which open some movieclips and also a txt-file with an an address and an emailaddress.  
The code that triggers the movieclips and the variables looks like this:

```auto
	
menu.btn1.onRelease = function() {
  _root.container.unloadMovie();
  loadMovie("textField.swf", _root.container);
  [COLOR="Red"]loadVariables("geschiedenis.txt", "_root.container");[/COLOR]
  loadMovie("scrollerWat.swf", _root.lijn1.scroll_mc);
  this._parent.activateItem (this);
};	

```

Everything works like a charm but the thing is I want users to be able to click on the email address so they can sent me a mail.  
Normally this isn’t a problem in flash typing in the URL “mailto:” option but since I dynamicaly load a text into flash I don’t know how to add this “mailto” function.

My text-file contains the following:

```auto

&content=

A de Busstop
	P.O.box 3385
	Westvilles

E [COLOR="Red"]info@westvilles.com[/COLOR]

```

Does anyone know is this possible how to do this?  
thank you for helping me out
