September 2009 Archives
September 18, 2009
Timer with a pause and resume
I needed the ability to pause the Timer class we have in ActionScript3 so i created my own TimerAdv class which extends it. I tested it on the environment i needed so i'm posting it here for everyone to test it out. Hopefully if i get the chance to properly test it out it will be part of the inca framework.
UPDATE I found via a comment on this post that theres a solution for this same thing done with a very similar logic and older than mine. You can find it here . I didn't base my logic on that post but what a coincidence. I guess great minds think alike, huh?
September 8, 2009
Updated: Get current week of the year
I'm a nerd and so i like to play with code on my free time. Two days ago i went thru this post where there is a discussion on how to calculate the current week of the year. Here is my try: