I have 50 thumbnails all named (thumb1, thumb2, etc.)
I would like each of them to trace what number thumb they are when pressed.
Am I totally off in my thinking that the code below should have worked?
Any help is greatly appreciated- Thanks!
for (var i = 0; i < 50; i++) {
var thisThumb = this[“thumb” + i];
thisThumb.onRelease = function () {
trace(thisThumb);
};
}