botones = new Array(bt_1, bt_2, bt_3, bt_4, bt_5); for (i=0; i<=5; i++) { botones[i].onRollOver = function() { trace(this._name); } }