str = "<mytag name='ЗДЕСЬ ДОЛЖЕН БЫТЬ АТРИБУТ ИЗ ВНЕШНЕГО ФАЙЛА '> '' </mytag>"; doc = new XML(str); foot_name.text= doc.firstChild.attributes.name; trace (y);