I thought this would be really simple but for some reason i cannot get this to work. I want to create a timer that basically records when 45 mins, are up and then produce a pop-up to say times up… does anyone have any ideas on how to go about this?
[COLOR=darkorange]function callback() {
trace(“interval called: “+getTimer()+” ms.”);
}[/COLOR]
[COLOR=darkorange]var intervalID:Number = setInterval(callback, 1000);[/COLOR]
[COLOR=darkorange][/COLOR]
[COLOR=black]I thought it would just be an if statement like if get Timer >= than say 7000 then time is up, but that doesn’t work :huh:[/COLOR]
Thanks