Ciao a tutti, devo assegnare ad un bottone due azioni, e precisamente: " gotoAndPlay(); " " stopAllSounds();"
Il dubbio che ho é sulla sintassi: é corretto se io scrivo:
on (release) {
gotoAndPlay(1);
}
on (release) {
stopAllSounds();
}
oppure devo scrivere:
on (release) {
gotoAndPlay(1);
}
{
stopAllSounds();
}
Quale delle due soluzioni é ok? Sono sbagliate tutte e due?
Ciao e grazie a tutti!