# Probably and easy one

**URL:** https://forum.kirupa.com/t/probably-and-easy-one/27168
**Category:** Uncategorized
**Created:** [July 30, 2003, 7:18pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168 "2003-07-30T19:18:26Z")
**Posts on this page:** 8
**Page:** 1

<div class="post-metadata">

### Author: ![Uli](https://avatars.discourse-cdn.com/v4/letter/u/ccd318/32.png) [@Uli](https://forum.kirupa.com/u/Uli)
#### Post date: [July 30, 2003, 7:18pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/1 "2003-07-30T19:18:26Z")

</div>

Hi there,

I’m loading a text file containing some html code like a few links and stuff. Well that’s ok but the problem is, i get some blurry font and can’t manage to have a system font…

My text field in flash in set to: non selectable, multiline, dynamic, size 10, black on white background.

i’m loading my text file using:  
loadText = new loadVars();  
loadText.onLoad = function(success) {  
if(success) {  
scroller.html=true;  
scroller.htmlText = this.newstext;}  
}  
loadText.load(“news.txt”);

so my question is, can i set some font style in my text file? (i tried but it didn’t work) or is there a way to display a clean text/font with that kind of dynamic text loading??

TiA :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: [July 30, 2003, 7:28pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/2 "2003-07-30T19:28:47Z")

</div>

Have you tried using the TextFormat object?

---

<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: [July 30, 2003, 7:29pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/3 "2003-07-30T19:29:31Z")

</div>

nope, can you be more specific?

---

<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: [July 30, 2003, 7:33pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/4 "2003-07-30T19:33:55Z")

</div>

Well, the TextFormat object has several properties that can be applied to text fields. Some of these properties include size, font, background, border, etc.

Now what I was thinking you could do was load in those properties dynamically and apply it to the textfield you already have.

---

<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: [July 30, 2003, 8:04pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/5 "2003-07-30T20:04:27Z")

</div>

well 'ive looked but i don’t know how to use that kind of object :hangover:

---

<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: [July 30, 2003, 10:20pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/6 "2003-07-30T22:20:00Z")

</div>

in fact, i just want to have a clear text like the one we get when using “device fonts” but with a dynamic text containing html tags. Any ideas??

---

<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: [July 30, 2003, 10:20pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/7 "2003-07-30T22:20:39Z")

</div>

Are you using pixel font?

---

<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: [July 30, 2003, 11:49pm UTC](https://forum.kirupa.com/t/probably-and-easy-one/27168/8 "2003-07-30T23:49:32Z")

</div>

well i can use whatever font, arial, myriad, verdana (…), it still isn’t displayed clearly like when you check “use device font” when working with a regular static text.
