HTML in dynamically loaded text?

I’ve been looking everywhere for a way to get a scroller in dynamically loaded text, so thanx for that. but how can i get it to display the loaded text as html as i use the <b> <I> <U> and <a href="…> tags alot! thanx for any help you can offer

Make sure you’ve got the ‘render text as html’ button pressed on the properties for the dynamic text box. It is the button that looks like this <>

Also in your code to load the text dynamically make sure you have html set to true, i.e.

yourtextboxname.html = true;

Hope this helps!

thankyou ill try that!!! :thumb:

This technote might come in hand:

thanx but it still doesnt seem to be working :S ill keep playing about

Can you post the code you are using to load the text into the text box?

ive uploaded my .fla and the external files to a zippy,
its just the dynamic scrollbar tutorial .fla but ive changed is, if u click on the black square u can see that the <i> tags are not working etc.


o and the code that i am using is:

loadText = new loadVars();
// creating the loadVarsText function
loadText.onLoad = function() {
plop.text = this.kirupatext;

<- from the tutorial lol

You have to enable the [font=Courier New]textfield.html[/font] property and assign the text to the textfield through the [font=Courier New]textfield.htmlText[/font] property:

plop.html = true;
 plop.htmlText = this.kirupatext;

Yes, see post #2 . . . :wink:

sorry, i did try but i diddnt know that it should be plop.htmlText, ill give it a try! Thanx

Thankyou So Mucht!

IT WORKS :slight_smile:

Good deal :thumb: