If I load a dynamic text field by setting the variable for the field equal to the text, the scrollbar on that field doens’t work. How do I set the scrollbar to scroll the right amount to fill the amount of dynamically loaded text?
There is a Flash MX tutorial on scrolling dynamically loaded text on www.kirupa.com
Can Flash MX render a dynamic text as HTML? I’ve done this experiment but it returns me a HTML tags, shows on the text field.
Try:
TextFieldInstanceName.html = true
well…I tried this up, but the html tag still there, unlike flash 5, no html tags shows when I want the text file render a text as html.
Can i have a look at ur fla?
ok no problem.
the fla code is like below:
loadText = new loadVars();
loadText.load(“help.txt”);
loadText.onLoad = function(){
scroller.text = this.help;
};
Try this instead:
loadText = new loadVars();
loadText.onLoad = function(){
scroller.html = true;
scroller.htmlText = this.help;
};
loadText.load("help.txt");
oh yeah! it works now! thanks very much.
Glad. :crazy: