# Different fonts in "scrolling dynamically loaded text"

**URL:** https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673
**Category:** flash
**Created:** [August 30, 2004, 2:20pm UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673 "2004-08-30T14:20:09Z")
**Posts on this page:** 7
**Page:** 1

<div class="post-metadata">

### Author: ![eskimostu](https://avatars.discourse-cdn.com/v4/letter/e/bb73d2/32.png) [@eskimostu](https://forum.kirupa.com/u/eskimostu)
#### Post date: [August 30, 2004, 2:20pm UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/1 "2004-08-30T14:20:09Z")

</div>

Thanks for the tute on dynamically loading text.  
Is there any way to alter the fonts and font sizes WITHIN the bulk of text?  
ie. If I wanted to have a header in one font, and the rest of the text in another.  
OR  
if I wanted to add a url hyperlink.  
I did a site for a friend, and used the dynamically loaded textboxes so he could update it himself by just changing the .txt file.  
At the moment all the scrolling textboxes are in one font. I would love to be able to change this, and even more, would love for my friend himself to be able to mix different fonts and update it himself.  
Is any of this possible, or will this method ONLY let you use the one font and size of the dynamic text box.  
Any help much appreciated.

---

<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: [August 30, 2004, 2:20pm UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/2 "2004-08-30T14:20:40Z")

</div>

oh yes, the site is at [www.danbull.com](http://www.danbull.com)  
cheers,  
stu

---

<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: [September 2, 2004, 8:14am UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/3 "2004-09-02T08:14:55Z")

</div>

I could use some help on this one 2 :hr:

i’m trying to have some “keywords” in another Fontcolor then the maintext in a dynamical textfield.

---

<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: [September 2, 2004, 9:07am UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/4 "2004-09-02T09:07:50Z")

</div>

try

my\_txt.setTextFormat (beginIndex, endIndex, textFormat)

---

<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: [September 3, 2004, 3:28am UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/5 "2004-09-03T03:28:07Z")

</div>

Thanks amitgeorge. Checked it out, good link here, jenna:

[http://actionscript-toolbox.com/flashmx\_createtext.php](http://actionscript-toolbox.com/flashmx_createtext.php)

---

<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: [September 3, 2004, 7:01am UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/6 "2004-09-03T07:01:07Z")

</div>

i’ve tried this out,  
works fine :flower:

[http://www.kirupa.com/developer/mx2004/css2.htm](http://www.kirupa.com/developer/mx2004/css2.htm)

---

<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: [September 3, 2004, 9:01am UTC](https://forum.kirupa.com/t/different-fonts-in-scrolling-dynamically-loaded-text/62673/7 "2004-09-03T09:01:50Z")

</div>

nice one.  
cheers,  
stu
