Answered
getTimer
I'm new to actionScript and I was trying to figure out how to
use getTimer. My goal is to display my age in hours, minutes, or
seconds. Or some combination of those.
I found this but I think it does not apply to actionScript 3.0
this.onEnterFrame = function() {
var time = new Date();
var hours = time.getHours();
var minutes = time.getMinutes();
var seconds = time.getSeconds();
}
How do I use getTimer in actionScript 3.0? I don't think that will be too hard but I am also unclear on how I would calculate my age based on the information I get from getTimer.
Any Suggestions?
I found this but I think it does not apply to actionScript 3.0
this.onEnterFrame = function() {
var time = new Date();
var hours = time.getHours();
var minutes = time.getMinutes();
var seconds = time.getSeconds();
}
How do I use getTimer in actionScript 3.0? I don't think that will be too hard but I am also unclear on how I would calculate my age based on the information I get from getTimer.
Any Suggestions?