This code is begging to be in a loop-
The only thing changing from button to button is the number.
It would be awesome if someone could help me truncate this- my syntax isn’t where I’d like it to be yet…
Thanks in advance!
thumb1.onRelease = function () {
thumber (pic1);
_parent.credit_txt.text = pic1Text;
currentPic = 1;
};
//
//
thumb2.onRelease = function () {
thumber (pic2);
_parent.credit_txt.text = pic2Text;
currentPic = 2;
};