Please help with actionscript for a 3 minute countdown timer

Hello - I am attempting to make a three minute countdown timer that ends when it hits zero. I have actionscript that starts counting down, but the minute never goes down, just the seconds and they continue on a loop. :crying: My text box is called countdown_txt. Can someone please help me figure this out? THANKS!!!

countdown_txt.text=“03:00”;
var dispSecs=60;
var dispMins=3;
var timerInterval=setInterval(countDown,1000);
function countDown()
{
dispSecs–;
if(dispSecs==59)
{
dispMins–;
}
if(dispSecs==0)
{
dispSecs=59;
}
if(dispMins==0 && dispSecs==0){
clearInterval(timerInterval);
}
countdown_txt.text=prependZero(dispMins)+":"+prependZero(dispSecs);
}

function prependZero(num)
{
if(num<10)
{
num=“0”+num;
}
return(num);
}