![]() |
|
||||||||||
|
|||||
|
Негуру
администратор
Регистрация: Jan 2000
Адрес: Кёнигсберг in Moscow
Сообщений: 21,884
Записей в блоге: 7
|
theAuthor = autorTag.firstChild.nodeValue;
вот пример myXML = new XML ("<navigation><dimension><![CDATA[Hello <br> Hello again <br>]]></dimension><name> name of smth </name><width>width of smth </width></navigation>");
myXML.ignoreWhite = true;
rootNode = myXML.firstChild;
autorTag = rootNode.firstChild;
theAuthor = autorTag.firstChild.nodeValue;
var my_fmt = new TextFormat ();
my_fmt.font = "Arial";
my_fmt.color =0xff0000
this.createTextField ("my_txt", 1, 10, 10, 500, 500);
my_txt.setTextFormat (my_fmt);
my_txt.border = true;
my_txt.html = true;
my_txt.wordWrap = true;
//my_txt.embedFonts = true;
my_txt.htmlText = theAuthor;
trace (theAuthor)
|
![]() |
Часовой пояс GMT +4, время: 06:36. |
|
|
« Предыдущая тема | Следующая тема » |
|
|