# Flash MX - loading external text in scroll bars

**URL:** https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961
**Category:** flash
**Created:** [November 8, 2003, 1:29pm UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961 "2003-11-08T13:29:30Z")
**Posts on this page:** 5
**Page:** 1

<div class="post-metadata">

### Author: ![amovertone](https://avatars.discourse-cdn.com/v4/letter/a/6f9a4e/32.png) [@amovertone](https://forum.kirupa.com/u/amovertone)
#### Post date: [November 8, 2003, 1:29pm UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961/1 "2003-11-08T13:29:30Z")

</div>

hey flash peeps

i need help!

is it possible to add links to text that is loading externally in scroll bars??

this is the tutorial i followed. but i can’t seem to find a way to add links or bold parts of a sentence. i tried adding html tags to the txt file, but they just show up in the text box without any interactivity:

[http://www.kirupa.com/developer/mx/dynamic\_scroller.htm](http://www.kirupa.com/developer/mx/dynamic_scroller.htm)

thanks,  
[static@amovertone.com](mailto:static@amovertone.com)  
:hr:

---

<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 8, 2003, 1:46pm UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961/2 "2003-11-08T13:46:16Z")

</div>

HTML tags is the way to do it, but you must enable HTML rendering for that textbox. You do that by checking the button with the “\<\>” on it, in the property inspector when that textbox is selected.

Then, you must set the htmlText value instead of the text value for that textbox. So no longer textfield.text = “something”, but textfield.htmlText = “something”. Then, your html tags will be displayed correctly 🙂

Note: You can also set the HTML property through actionscript:

```auto
textfield.html = 1
textfield.htmlText = "text goes here ... <a href='www.kirupa.com'>Link to Kirupa.com</a> for example."

```

---

<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 8, 2003, 5:58pm UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961/3 "2003-11-08T17:58:23Z")

</div>

thanks Voetsjoeba !

adding the textfield.htmlText did the trick!

but why doesn’t the underline or color change happen for links. it works, but no one will know where the link is:  
…  
inserttext=Recordari \<b\>volo transactas\</b\> foeditates meas, et carnales corruptiones animae meae, non quod eas amem, sed ut amem te, deus meus.

amore \<a href=“[http://www.kirupa.com](http://www.kirupa.com)”\>amoris tui \</a\>facio istuc, recolens vias meas nequissimas in amaritudine recogitationis meae,  
…

the bold works and the link works, but you can’t visually see the link? is there another trick???

thanks for your time,  
static :azn:

---

<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 9, 2003, 1:41am UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961/4 "2003-11-09T01:41:49Z")

</div>

You could just put \<u\>\</u\> tags around the links, then they would be underlined

---

<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 9, 2003, 2:14am UTC](https://forum.kirupa.com/t/flash-mx-loading-external-text-in-scroll-bars/34961/5 "2003-11-09T02:14:56Z")

</div>

paradox244 - your a genius!!! thanks for your help guys!!
