Salve a tutti,
sto realizzando un sito per una radio e volevo mettere nella testata il programma in onda in quel momento...
Naturalmente creo l'oggetto orario e poi...

if (h>=1 and h<=4 and min<=59) {
programmi.gotoAndStop(2);

}
else if (h>=5 and h<=6 and min<=59) {
programmi.gotoAndStop(3);

}
else if (h>=7 and h<=9 and min<=59) {
programmi.gotoAndStop(4);

}

else if (h>=10 and h<=12 and min<=30) {
programmi.gotoAndStop(5);

}

else if(h>=12 and min>=31 and h<=13 and min<=30) {
programmi.gotoAndStop(6);

}
else if(h>=13 and min>=31 and h<=14 and min<=30) {
programmi.gotoAndStop(7);

}
else if(h>=14 and min>=31 and h<=15 and min<=30) {
programmi.gotoAndStop(8);

}
fino ad un certo punto ha funzionato ma ora non mi funziona più...sto facendo le prove cambiando l'orario di sistema...
ho notato che funziona fino alle 12 , quando metto le 13:20 non funziona....
che cosa sbaglio????