I don’t know am I tired of what?!?!
I have problem whit new line in txt field.
This example works:
var my_str:String = "This is firs line
this is second line.";
this.createTextField("first_txt", this.getNextHighestDepth(), 10, 10, 160, 120);
first_txt.html = true;
first_txt.multiline = true;
first_txt.wordWrap = true;
first_txt.condenseWhite = false;
first_txt.htmlText = my_str;
but if I put this text in XML and load xml to flash, after trying to display text in “first_txt” text field flash doesn’t render text with two lines, he doesn’t recognize “
”.
I’ve put (<BR>) <BR> instead of **
** and it works but I prefer to use **
**.
Anyone know how to accomplish that ?
Also is there possibility to use html tags inside XML without using substitution < - < or > - > ?
Thanks for replies.
Cheers