
Код:
f_createInterface = function () {
_root.createTextField("links_txt", 1, 10, 10, 530, 1);
links_txt.type = "input";
with (links_txt) {
border = true;
html = true;
wordWrap = true;
multiline = true;
autoSize = true;
htmlText = my_xml.firstChild.firstChild.nodeValue;
}
var len = links_txt.text.length;
if( links_txt.text.charAt(len - 1) == '\r' )
links_txt.replaceText(len - 1, len, '');
};