Xml buttons enable, disable

hi, i have a xml in this i have some buttons, but i try to do those are enable or disables, the idea is when i click a button this change the color to grey and the other come back to orange color. In this code i used some caurina code

I used this code:

function loadXml(file:String) {
   menuXml.ignoreWhite = true;
   menuXml.onLoad = loadMapData;
   menuXml.load(file);
   function loadMapData() {
      for (var i = 0; i<this.firstChild.childNodes.length; i++) {
         var bn = this.firstChild.childNodes*.attributes.buttonName;
         var t = this.firstChild.childNodes*.attributes.thumbs;
         var b = _root.btn.bM1.attachMovie("button", bn, i);
         b.pic_url = this.firstChild.childNodes*.attributes.full_url;
         b.pic_url2 = this.firstChild.childNodes[0].attributes.full_url;
         b._x = xStart+((bWidth+2)*i);
         b._y = yStart;
         b.txt = bn;
         loadMovie(t, b.foto);
         b.onPress = function() {
            if (loaded == filesize) {
               contenedor._alpha = 0;
               contenedor.loadMovie(this.pic_url);
            }
         };
         b.onRollOver = function() {
            this.t2._y = 20;
            this.t2._alpha = 0;
            Tweener.addTween(this.t1,{_alpha:0, _y:-10, time:0.5});
            Tweener.addTween(this.t2,{_alpha:80, _y:0, time:0.5, onStart:function () {
            this._visible = true;
            }});
            Tweener.addTween(this.foto,{_alpha:100, time:1, onStart:function () {
            this._visible = true;
            }});
         };
         b.onRollOut = function() {
            Tweener.addTween(this.t1,{_alpha:100, _y:0, time:0.5});
            this.t2._visible = false;
            this.foto._visible = false;
         };
      }
   }
}

Sorry again for my bad english :pleased: i try to go better. And please remember i’m graphic designer i try to learn Code, but it’s hard to me :lol: