Flash Player use of Internal clock
Wednesday, May 7th, 2008Internal clock in flash player sucks a lot. I am doing a project that needs to have a lot of precision in the time intervals. The project is like a music sequencer, so the timer have to tick always at the same time, because if not you listen like an empty space between sounds. I have done some tests with the event OnEnterFrame and the Timer function, and the results are the follows: if you start a timer with 3000 milliseconds the results will be: 3045, 3072, 3000, 3305, 3079, 3063, 3081, so you have like 80 milliseconds of difference, it’s not good enough. I have done the same test in c#, and the results are 3000,3000,3000,3000. It’s a little bit sad, if anyone knows a solution, please comment.

