# How to make links in dynamically loaded text?

**URL:** <https://forum.kirupa.com/t/how-to-make-links-in-dynamically-loaded-text/276729>\
**Category:** flash\
**Created:** [December 3, 2008, 3:49am UTC](https://forum.kirupa.com/t/how-to-make-links-in-dynamically-loaded-text/276729 "2008-12-03T03:49:01Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![realdoyle](https://avatars.discourse-cdn.com/v4/letter/r/ba9def/32.png) [@realdoyle](https://forum.kirupa.com/u/realdoyle)\
**Post date:** [December 3, 2008, 3:49am UTC](https://forum.kirupa.com/t/how-to-make-links-in-dynamically-loaded-text/276729/1 "2008-12-03T03:49:01Z")

</div>

Can anyone help me create links in a dynamically loaded text box? I have a dynamic text box with this code (Flash MX/1.0):

loadText = new loadVars();  
loadText.load(“news\_txt.txt”);  
//creating the loadVarsText function  
loadText.onLoad = function() {  
scroller.text = this.newstext;  
};

I followed this tutorial ([http://www.kirupa.com/developer/mx/dynamic\_scroller.htm](http://www.kirupa.com/developer/mx/dynamic_scroller.htm)) but I need to be able to make links within this text. Ideally, I’d like to be able to add other HTML code to the text (bold, underline, etc.) but just being able to make hyperlinks from the .txt file would be great.

Thank you greatly for any help you can offer.
