Flasher Archive

[Previous] [Next] - [Index] [Thread Index] - [Previous in Thread] [Next in Thread]


Subject: Re: FLASH: Will this loop work?
From: John Dowdell
Date: Fri, 27 Aug 1999 21:11:26 +0100

Loops are great for fast processing. They're not good for waiting for user
input.

If you're waiting for user input, try periodically checking for the input
in a frame action instead of keeping the computer bound up in the tight
little "while" loop.

The difference? When you're going from frame to frame the computer and the
application have time to do other things. Script loops, though, are
designed to execute quickly and move on to something else... if you stay in
a script for many seconds on end then you may not see other things happen
on the computer until you exit.

jd





John Dowdell, Macromedia Tech Support, San Francisco CA US
Search technotes: http://www.macromedia.com/support/search/
Offlist email risks capture by the spam filters. I may not see your
email if it's not on the list. Private one-on-one email options are
available via Priority Access: http://www.macromedia.com/support/



------------------------------------------------------------------------
To UNSUBSCRIBE send: unsubscribe flasher in the body of an
email to list-manageratshocker [dot] com. Problems to: owneratshocker [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-manageratshocker [dot] com


[Previous] [Next] - [Index] [Thread Index] - [Next in Thread] [Previous in Thread]