doesnt work
i would expect this to work
well it does work, just not how its intended to
for(i=1; i<=3; i++) {
_root["btn"+i].onRelease = function() {
trace("line"+i);
}
}
each button traces “line4”
anybody know why?
doesnt work
i would expect this to work
well it does work, just not how its intended to
for(i=1; i<=3; i++) {
_root["btn"+i].onRelease = function() {
trace("line"+i);
}
}
each button traces “line4”
anybody know why?