Hello I'm having this (loading data into holder, which goes well)
xmlmenu=new XML();
xmlmenu.ignoreWhite=true;
xmlmenu.onLoad=function(success){
if (success) {
menuItem=this.firstChild.childNodes;
for(var i=0; i<menuItem.length; i++){
item=_root.myHolder.attachMovie("clip","new" +i, i);
if (i%3 ==0){
new Color(item.background).setRGB(0xFF9900);}
if (i%2 ==0){
new Color(item.background).setRGB(0x0099CC);}
if (i%4 ==0){
new Color(item.background).setRGB(0x99CC00);}
item._x=0;
item._y=20*i;
item.itemLabel.text=menuItem.attributes.name;
} } }
xmlmenu.load("menu.xml");
but now I want to load the items into an scrollpane (myScrollPane) but how
thanks