Works in Flash Test...Not in IE/FF

I’ve been working on a game for a while, and got a good bit of it done. I uploaded it and tested it out today and found that it doesn’t work in Internet Explorer or Firefox.

Basically, there is a timer code

stop();
// Define the length of your timer
min = 0;
sec = 16;
// Define the interval (1000 = 1 Second) and call the countdown function
setInterval (countDown, 1000)
// Define the Countdown function
function countDown() {
 sec--;
 if (sec < 10) {
  sec = "0" + sec; // Adds a 0 to the seconds if it falls below 10 secs
 }
 if (sec == 0) {
  if (min == 0) {
    gotoAndPlay(5); // action when the countdown reaches 0
  }
  sec = 59;
  min--;
 }
 // Display minutes and seconds.
 _root.minText.text = min;
 _root.secText.text = sec;
}

and when the timer is up, it goes and plays the 5th frame. It works fine in Flash. But on IE and Firefox, the timer text doesn’t show up in the correct places and the time isn’t static and seems to change every time you retry (Like, instead of being 16 seconds it’s only 2, then 5, then 2, then perhaps 16.)

Any ideas why it works in Flash but not after Published and how I could fix this? :\ Thanks!