onClipEvent (load) {
contatore = 0;
}
///////
onClipEvent (enterFrame) {
if (this.hitTest(_root.linea)) {
***** qui inserisci il controllo *****
if (contatore == 0) {
if (this.hitTest(_root.uno.due.pentaunodo)) {
_root.suoni.gotoandplay(2);
contatore++;
}
}
} else {
//cioè quando la linea esce dalla nota
contatore = 0;
}
}
te lo posto con il tuo codice anche