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??
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.
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.