jeudi 15 septembre 2016

Toggle Item in Array

Preface: I'm not a programmer, I'm an artist and I'm pretty terrible at AS3 and use very basic methods to achieve what I want even if it takes me the entire week to figure it out and end up with 1000+ lines of redundant code.

Question: I have 10 buttons on the stage in an array. They each have an "in" and "out" animation. How do I easily click any button and have it play the "in" animation while playing the "out" animation of any other button that was previously clicked? What is the easiest way to accomplish this?

Aucun commentaire:

Enregistrer un commentaire