Показать сообщение отдельно
Старый 26.10.2005, 21:00
iNils вне форума Посмотреть профиль Отправить личное сообщение для iNils Посетить домашнюю страницу iNils Найти все сообщения от iNils
  № 10  
Ответить с цитированием
iNils
Негуру
 
Аватар для iNils

администратор
Регистрация: 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)
__________________
(и)Нильс.ru | Плагины для FlashDevelop