Need to write my own timer script

Hi,

I am in need of a very precise timer - down to 10 millisecond would be great. I have tried everything flash has to offer as far as I know and nothing is that precise. At best flashes set interval and Timer in AS3 is around 50 millisecond.

So my question - is there a way to write a timer script in an .as file the skips flashes dreaded timers? Is there any way to get precision time into flash?

Thanks,

waffe