Помогите пожалуйста сделать прокрутку.
Есть MovieClip из 5 текстовых полей (у каждого есть имя: name, cost и т.д.) - это одна строка таблицы (textf - имя этого МС).
Перетащила этот МС на гл. сцену. В 1-м кадре на главной сцене код:

Код:
myXML = new XML ();
myXML.ignoreWhite = true;
myXML.load ("test1.xml");
myXML.onLoad = function(success) {
setProperty("textf", _y, _y=-300);
setProperty("textf", _x, _x=50);
if (success==true) {
var table=myXML.firstChild;
var string = table.firstChild;
for(i=0;i<table.childNodes.length;i++) {
duplicateMovieClip("textf", "textf"+i, i);
setProperty("textf"+i, _y, -300+i*17);
_root["textf"+i].name.text+=string.childNodes[0].nodeName+newline;
_root["textf"+i].cost.text+=string.childNodes[1].nodeName+newline;
_root["textf"+i].diam.text+=string.childNodes[2].nodeName+newline;
_root["textf"+i].tol.text+=string.childNodes[3].nodeName+newline;
_root["textf"+i].mater.text+=string.childNodes[4].nodeName+newline;
var string = string.nextSibling;
}
}
}
ScrollPane не получилось сделать - выводится мой символ - одна строка без данных.