Does anyone know how to position correctly a MC from an external xml file?
I’m having trouble to make them align with a space to each other
For now on, when I run that they are sticking together. HOw to make a space between each of them??
here’s my code:
function loaderXML(loaded) {
var root = this.firstChild;
var nb_elements = racine.childNodes.length;
if (loaded) {
for(i=0;i<nb_elements;i++) {
var company_name = racine.childNodes*.attributes;
var item = _root.attachMovie("company", "item"+i, i);
item.nom_txt.text = company_name.id;
item.nom_txt._x = 20;
item.nom_txt._y = 20;
}
} else {
text_area.text = "Can NOT load the images request...";
}
}