hi all how can i handle multi buttons in as3
for (var i:Number = 1; i<=some; i++) {
selpic["filter"+i].vars = i;
selpic["filter"+i].onRelease = function() {
if (_root.wp != this.vars) {
_root.t = 1;
_root.fadeOut = true;
_root.wp = this.vars;
}
};
}
this work in as2 but i want do this in as3
thanks