This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Flash Site Design > May 2005 > loading a text file





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author loading a text file
druhallen

2005-05-10, 4:16 am

I don't have any trouble loading the .txt file into the dynamic text. But I
can't to make changes on the text, the whole text is the same. I wanted to be
able to change font sizes on diferent parts of the text, also make some parts
italic.
I have the .txt file:

myFile=Title
some text

I wanted to make "Title" bigger, and "some text" italic, but I have no idea,
I tried to use <i>some text</i> but I don't think it works just as html. If
anyone can help.

merlinvicki

2005-05-10, 7:22 am

u have to set ur text to html:
my_txt.html = true;
my_txt.htmlText = "<b> this is bold text </b>";
:)
Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews