I want a way to apply a mouse event to multiple button/instance names. Here is the two events that will do the same thing:
Code:
image1.addEventListener(MouseEvent.CLICK, shift);
next2.addEventListener(MouseEvent.CLICK, shift);
Is there anyway to make this into one statement?