Hey, i want to play a sound at a certain time of day...lets say if it was 8'o clock i wanted it to play sound 1, at 8:30 sound2, etc....
now ive made this little code and it doesnt work...
Code:
var newHours = new Date();
var hour = newHours.getHour();
if (hour == 19) {
gotoAndPlay(2); }
|