I should clarify that the link information needs to be in the .txt file so that I only have to change the .txt file and not the flash once live.
my solution for you is to use XML instead of plain text file. I've attached a working fla file with it's XML file. It is straight forward. make sure both files are in the same location or modify the load path in the fla to reflect the xml file location Good luck.
P.S. you'll have to remove the "mailto" from the display text, I don't have the time to strip it out.
myinfo.xml 278 bytes
Here is the code, you'll have to setup 3 text fields with instance names myText, myTextEmail, myLocationText
var myLoader:URLLoader = new URLLoader();
myXML = new XML(myLoader.data);
myText.text = myXML.myname;
myTextEmail.text = myXML.myemail;
myLocationText.text = myXML.mylocation;
var urlRequest:URLRequest = new URLRequest(myTextEmail.text);
var urlRequest:URLRequest = new URLRequest(myLocationText.text);
trace("text did not load");