uppino

questo e' il codice all'interno del componente flash...probabilmente e' questo dacambiare...mi potreste dare una mano?

#initclip
function MListClass() {
this.over == false;
this.index = 0;
this.updated = false;
this.is_hiding = false;
this.sm._visible = false;
}
MListClass.prototype = new MovieClip();
MListClass.prototype.update = function() {
if (this.over == true) {
if (this.updated == false) {
clearInterval(this.t_timer);
this.updated = true;
this.showItems();
if (this.index<this.m_items.length-1) {
this.t_timer = setInterval(this, "showItems",
this._parent.showDelay);
}
}
}
};
MListClass.prototype.showItems = function() {
this.index++;
this.attachMovie("MButton", "sm_"+this.index, this.index,
{_x:this.sm_0._x, _y:this.sm_0._y+18.5*this.index,
m_text:this.m_items[this.index][0], m_function:this.m_items[this.index][1],
m_thisObject:this.m_items[this.index][2],
m_parameters:this.m_items[this.index][3],
m_state:this.m_items[this.index][4]});
this["sm_"+(this.index)].m_btnMovie.gotoAndPlay("show");
if (this.index == this.m_items.length-1) {
clearInterval(this.t_timer);
}
updateAfterEvent();
};
MListClass.prototype.init = function(m_btns) {
this.m_items = m_btns;
this.attachMovie("MButton", "sm_0", 100, {_x:this.sm._x, _y:this.sm._y,
m_text:this.m_items[0][0], m_function:this.m_items[0][1],
m_thisObject:this.m_items[0][2], m_parameters:this.m_items[0][3],
m_state:this.m_items[0][4]});
};
MListClass.prototype.getAt = function(index) {
return this["sm_"+index];
};
MListClass.prototype.getDataAt = function(index) {
return this["sm_"+index];
};
MListClass.prototype.setDataAt = function(index, value) {
this.m_items[index] = value;
this.update();
};
MListClass.prototype.removeAt = function(index) {
this.m_items.splice(index, 1);
this.update();
};
MListClass.prototype.hide = function() {
clearInterval(this.interval);
clearInterval(this.t_timer);
this.hideItems();
if (this.index>0) {
this.t_timer = setInterval(this, "hideItems",
this._parent.hideDelay);
}
this.updated = false;
};
MListClass.prototype.hideItems = function() {
this["sm_"+this.index].m_btnMovie.gotoAndPlay("hide");
this.index--;
if (this.index == 0) {
clearInterval(this.t_timer);
this.is_hiding = false;
}
updateAfterEvent();
};
MListClass.prototype.setItems = function(items) {
this.m_items = items;
this.update();
};
MListClass.prototype.getItems = function() {
return (this.m_items);
};
MListClass.prototype.addProperty("items", function () { return
this.getItems();}, function (v) { this.setItems(v);});
MListClass.prototype.setEnabled = function(value) {
this.getAt(0).enabled = 0;
this.update();
};
MListClass.prototype.getEnabled = function() {
return (this.m_items[0].enabled);
};
MListClass.prototype.addProperty("enabled", function () { return
this.getEnabled();}, function (v) { this.setEnabled(v);});
Object.registerClass("MList", MListClass);
#endinitclip