if (prez.object (‘caixa_1’).show) {
prez.object (‘caixa_2’). show ();
prez.object (‘caixa_1’). hide ();
} else
if (prez.object (‘caixa_2’).show) {
prez.object (‘caixa_3’). show ();
prez.object (‘caixa_2’). hide ();
} else
if (prez.object (‘caixa_3’).show) {
prez.object (‘caixa_4’). show ();
prez.object (‘caixa_3’). hide ();
}else
if (prez.object (‘caixa_4’).show) {
prez.object (‘caixa_5’). show ();
prez.object (‘caixa_4’). hide ();
}else
if (prez.object (‘caixa_5’).show) {
prez.object (‘caixa_6’). show ();
prez.object (‘caixa_5’). hide ();
}
Something like that, but when I put it, besides not touching the audios it stops at the second rectangle and does not go forward.