Hi.
I made three Button with Array. my button sprite had three animation and I want for each button set one animation (e.g: set Anim_1 for Button 1, Anim_2 for Button2 and so on). I test some ways to do this but I don't know how can do it. if possible please Guide Me.
you can download my capx Project at below link:
dropbox.com/s/25mf4od4kqstkby/Create%20Btns.capx
Thanks.
Assign a instance var for your button. Give them {0, 1, 2} respectively. Read their id in a for each loop, and assign corresponding animation.
Develop games in your browser. Powerful, performant & highly capable.