[MWForum]The timer, when viewed from a browser
Wendy Petti
mwforum@lists.mathcats.com
Sat, 31 May 2003 16:55:31 -0400
Hi Lisa,
Your question puzzles me because I see the numbers slowly even in the web
browser version. Are you talking about this page?
"How do I set up a timer in a game?"
http://mia.openworldlearning.org/howdoi/shu.htm
Using the code which rounds off to integers, you should not see tenths of
seconds flashing past. Please tell us what version of browser and
operating system you are using; I wonder if that has anything to do with
it.
By the way, the code that seems to work as I view it is:
to time
setseconds int timer / 10
end
and this procedure is run inside of another procedure with
forever [time]
Since the "int" command is used, I cannot understand how tenths of seconds
could be displayed. But perhaps in your browser version, the same second
is flashing repeatedly, every tenth of a second, until flashing to the next
second. I am using a PC with IE 5.5 and it looks perfect. Perhaps we'll
have to come up with a more foolproof solution if it does not work for you.
I will give it some thought and hope that others on the list will, too.
Wendy
> -----Original Message-----
> From: mwforum-admin@lists.mathcats.com
> [mailto:mwforum-admin@lists.mathcats.com]On Behalf Of LRichter99@aol.com
> Sent: Saturday, May 31, 2003 4:25 PM
> To: mwforum@lists.mathcats.com
> Subject: [MWForum]The timer, when viewed from a browser
>
>
> I've tried setting up a timer as Wendi suggested in one of her
> fabulous "How do
> I.." projects on the MIA site. (I'm counting down from 20,
> dividing the system
> number by ten, etc., and displaying it in a text block.) It
> works great when I
> run the project with the MWpro exec. But when it is run via
> Explorer, the
> numbers are no longer clear in the text block--specifically they flip by
> quickly... remaining there, likely, for only the tenth of a
> second. (The same
> is true in your online example when I view it.)
>
> Is there any html code that can be added to the file to cure
> this browser flip?
>
> Thanks.
> Lisa Richter
> Cosmic Thinkers in Laguna Beach, CA
>
> _______________________________________________
> MWForum mailing list
> MWForum@lists.mathcats.com
> http://lists.mathcats.com/mailman/listinfo/mwforum
> attachments archived at:
> http://www.mathcats.com/mwforum/attachments.html
>