<html>
<head>
<meta content="text/html; charset=ISO-8859-1"
http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
<font face="Georgia">I'm not clear on who wants to flash 10 morphs,
but if you do this<br>
<br>
m _ (1 to: 10) collect: [ :i | Morph new position: (i@i*75);
openInWorld]<br>
<br>
then try this:<br>
<br>
m do: [ :e | e flash]<br>
<br>
The standard version of #flash *occasionally* causes a visible
change in the first morph, but I never notice a change in any of
the others.<br>
<br>
The 100 ms delay version makes all of the flashes clearly
noticeable, in sequence.<br>
<br>
A 10 ms delay in #flash makes them mostly (but briefly)
detectable.<br>
<br>
I suspect if you really want to flash 10 morphs, you may do well
with a rather different approach.<br>
<br>
Cheers,<br>
Bob<br>
<br>
<br>
</font>
<div class="moz-cite-prefix">On 8/18/13 9:10 PM, Levente Uzonyi
wrote:<br>
</div>
<blockquote
cite="mid:alpine.DEB.2.00.1308190308510.24857@login01.caesar.elte.hu"
type="cite">On Sun, 18 Aug 2013, Chris Muller wrote:
<br>
<br>
<blockquote type="cite">The trouble with using an alarm is if
#flash gets called again before
<br>
the alarm fires, it will think its negated color is its normal
color
<br>
and add yet another alarm to reverse it again, leaving it in the
<br>
flashed color.
<br>
<br>
Could you (or Levente) elaborate by why it might not be a good
idea?
<br>
</blockquote>
<br>
IIUC if you flash multiple Morphs, the delays will stack. So
flashing 10 morphs will cause a second delay.
<br>
<br>
<br>
Levente
<br>
<br>
<blockquote type="cite">
<br>
I think describing use-cases really helps understand context.
For me,
<br>
I use flash as a debugging tool, I open an inspector on a Morph
and
<br>
type "self flash" and press and hold Command+d to DoIt. I don't
<br>
really need the Delay since the key-repeat takes care of it..
<br>
<br>
<br>
<br>
On Sun, Aug 18, 2013 at 3:32 PM, Marcel Taeumel
<br>
<a class="moz-txt-link-rfc2396E" href="mailto:marcel.taeumel@student.hpi.uni-potsdam.de"><marcel.taeumel@student.hpi.uni-potsdam.de></a> wrote:
<br>
<blockquote type="cite">Yup, not the best idea. That's why I
voted for the use of Morphic Alarms. :)
<br>
<br>
Best,
<br>
Marcel
<br>
<br>
<br>
<br>
--
<br>
View this message in context:
<a class="moz-txt-link-freetext" href="http://forum.world.st/computers-too-fast-these-days-tp4704067p4704077.html">http://forum.world.st/computers-too-fast-these-days-tp4704067p4704077.html</a><br>
Sent from the Squeak - Dev mailing list archive at Nabble.com.
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
<br>
</blockquote>
<br>
</body>
</html>