codice:
function timer() {
	tempo++;
	tempo_text.text = tempo + " sec";
	 if (tempo == 60) {
		 clearInterval(a);
		 gotoAndStop("fine");
	 }
}
tempo = 0;
tempo_text.text = tempo + " sec";
a = setInterval(timer,1000);
stop();
lo puoi mettere tranquillamente sul primo frame