for some reasons i'm not getting consistent results.

when i do a simple path find from one corner of a 10*10 grid to another, it comes up with either 0, 15 or 16 ms.

i'm guessing 15/16 is correct, however why does it come up with 0?

I THINK what it's doing is on one frame / clock cycle (do they even apply to flash?) i click the 'find path' button and it sets the start milliseconds and then in the same cycle it finds the path and sets the end milliseconds. thus giving a 0 difference as it only did one cycle, and only set the time once. on the occasions it gives 15/16 it must be doing it on 2 sepperate cycles, first setting the start time, second setting the end time and completing the path find.


what do you think?