Flasher Archive
[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]
Subject: | RE: FLASH: actionscript delay timer |
From: | John Dowdell |
Date: | Mon, 1 May 2000 23:12:35 +0100 |
>> but flash errors out saying that a loop executed more than 200,000 times
>...
>> Loop While (now <= then)
>> Set Variable: "now" = GetTimer
>> End Loop
Use a repeat loop for a short processing task, not for extended
interactivity. Don't hang the user up in those tight repeat loops. You're
using the wrong tool for the job there.
More info's in the *Director* technotes with keyword "repeat".
Darren had a great example of how to use an open frame loop, which
periodically checks for completion yet allows the rest of the computer to
operate normally.
Summary: A programming loop is for quick iteration, but nothing else will
happen while you're there.
jd
flasher is generously supported by...
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Get the last 100 messages from the flasher list NOW
http://www.chinwag.com/flasher/last100.shtml
Flash books http://www.chinwag.com/flasher/books.shtml
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
To unsubscribe or change your list settings go to
http://www.chinwag.com/flasher or email helpchinwag [dot] com
[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]