[F8] Countdown Timer Triggers and Event...possible?
Hi,
I have a timer counting down.
When it hits :30 I need a warning sound and message.
Not sure how to do this. I thought some kind of listener
Below is the code
Thanks
Code:
function countDown() {
if (Math.round(outputMin)==0 && Math.round(outputSec)==0 || chk==1){
clearInterval(timer);
}else {
if (outputSec != "00") {
outputSec = Math.round(outputSec) - 1;
//trace(output);
}else {
outputSec = 59;
outputMin = Math.round(outputMin) -1;
}
if (outputSec <= 9 && outputSec > 0) {
outputSec ="0" + outputSec;
}else if (outputSec == 0) {
outputSec = "00";
gotoAndPlay(3);
}
}
}
chk=0;
stop();