
Код:
function loadXML(loaded) {
if (loaded) {
xmlNode = this.firstChild;
items1 = [];
total = xmlNode.childNodes.length;
for (i=0; i<total; i++) {
items1[i] = xmlNode.childNodes[i].attributes.name;
}
firstImage();
} else {
content = "file not loaded!";
}
}
xmlData = new XML();
xmlData.ignoreWhite = true;
xmlData.onLoad = loadXML;
xmlData.load("images.xml");
var Paket = {
layout: 0,
icon_size: 128,
icon_min: 32,
icon_max: 128,
icon_spacing: 2,
span: null,
items: items1,
amplitude: null,
callback: this.osxActions
}
this.attachMovie('OsxClass', 'menu_osx', 1, Paket);
this.menu_osx._x = Stage.width / 2;
this.menu_osx._y = Stage.height
;
как исправить строчку

Код:
items: items1,
????