I'm a beginner and have difficulties with if and else on button
Hello I'm starting to work with Animate and I'm having problems using the if and else conditions. I have a button that clicks it to check the status of my movieclips depending on the situation the action takes
_this.bt_Verifica.on('click', function () {
if (_this.mcUm.currentFrame == 1 && _this.mcDois.currentFrame == 1 && _this.mcCinco.currentFrame == 1 && _this.mcSete.currentFrame == 1) {
_this.gotAndStop(11);
} else {
_this.gotAndStop(12);
});
I'm learning now to mess with it, sorry if I'm asking a very stupid question;
