Como puedo hacer referencia a 2 movieclips para que estos sean parte o entren o como sea a un if.
Código :
on (rollOver) {
gotoAndPlay(2);
}
on (rollOut) {
gotoAndPlay(6);
}
on (press) {
with (_root.boton2) {
if (_currentframe==1) {
stop();
} else {
gotoAndPlay(16);
}
}
with (_root.boton1) {
if (_currentframe==1) {
stop();
} else {
gotoAndPlay(16);
}
}
gotoAndPlay(10);
}
Este código funciona pero no quisiera tenerlo así, imaginen si son mas botones, quiero saber si es posible decirle with(movieclip1 y movieclip2) realicen tal tarea.
Gracias espero alguien me pueda ayudar
