Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | Re: FLASH: Time Delay Plug and Play Routine |
From: | John Croteau |
Date: | Mon, 23 Aug 1999 04:40:10 +0100 |
Hi James,
> Just wanted to send a big thank you to John - you are the best! I've been
> looking for a way to do a timer function for quite some time, but have
> never really had time to pursue it. This is almost exactly what I was
> looking for and will certainly give me a great foundation to work with.
Great
> >From the quick tests I've run, it seems to be very accurate with my system
> clock. Any ideas how it might react on other machines
Should work just fine, everything is Flash.
The only question is if we wll get occasional slight deviations when the
system is maxed out. In other words does GetTimer lose time if the
system has no resources to give Flash.
> - is processing, ram, or OS a factor?
No, with the above possible exception.
> If so, how great of a factor might it be?
The only inaccuracy noted so far is the down time when looping between
Flash frames (when we can't check the time).
So it is about .05 seconds average varying between 0 and .1 seconds.
Only for small time increments does this make much af a difference.
This works out good because for delays less than one second you should
have no or few problems with Loop While and its failing because of the
200,000 player loop limit has been exceeded.
I also did tests where I checked the time in both frames and there was
no detectable difference in the overage between the two methods.
> Any idea what the maximum time is that this will count without error?
No, practical limit - hours or days of delay shoild not be a problem.
The current version should meet most needs.
In the future we will likely add a more accurate version that will
eliminate the .05 second average time overage by combining the If loop
with a Loop While which will take over the countdown once it gets under
a certain time. As I do more testing I'll have a better idea of what
point that should be.
----------- -----------------------
John Croteau croteauerols [dot] com (mailto:croteauerols [dot] com)
------------- -------------------------
FlashTek (Advanced Websites with Flash) http://www.FlashTek.com/
Flash Bible (Fast track to good Flash) http://www.FlashBible.com/
Flash Central(The Universe Starts Here) http://www.FlashCentral.com/
The Flash Tech Resource (Tech Notes) http://www.FlashCentral.com/tech/
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-managershocker [dot] com. Problems to: ownershocker [dot] com
N.B. Email address must be the same as the one you used to subscribe.
For info on digest mode send: info flasher to list-managershocker [dot] com
Replies
RE: FLASH: Time Delay Plug and Play Rout, James
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]