<br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 6:00 PM, karl ramberg <span dir="ltr">&lt;<a href="mailto:karlramberg@gmail.com">karlramberg@gmail.com</a>&gt;</span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
Hi<div>In morphich you should use the step method.</div><div><br></div><div>Just add a step method to the morph and start the stepping when you want the animation to start.</div><div>I think you must add a self changed or a self layoutChanged at the end of the step method to update the morph.</div>

<div><br></div><div>It&#39;s a little more difficult to block all other morphs from update thou. </div><div>But if they run animation, you can stop their stepping and start it again when your animation is done.</div><div>

<br></div><div>Morphic runs in a single process and using other processes will not necessarily give trouble.</div></blockquote><div><br></div><div> Morphic runs in a single process and using other processes will give you trouble. </div>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><br></div><div>You set the desired time between steps with method stepTime and return the millisecond time you would like.</div>
<span class="HOEnZb"><font color="#888888">
<div><br></div></font></span><div><span class="HOEnZb"><font color="#888888">Karl</font></span><div><div class="h5"><br><br><div class="gmail_quote">On Thu, Jan 5, 2012 at 2:15 PM, Jan Teske <span dir="ltr">&lt;<a href="mailto:jan.teske@student.hpi.uni-potsdam.de" target="_blank">jan.teske@student.hpi.uni-potsdam.de</a>&gt;</span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Hi there,<br>
<br>
I try to implement a blocking animation so that the process waits for the animation to be terminated before going ahead. This animation should lower the extent of a Morph in 20 iterations so that it looks like it would shrink.<br>


<br>
I tried to accomplish that in a &#39;1 to: 20 do:&#39; loop but the Morph is not updated during the iterations. I tried &#39;morph changed&#39; but that doesn&#39;t work either. It does work, however, if I fork the animation loop. But than I have an extra process an need Semaphores to wait for its execution. That&#39;s not as simple as it could be.<br>


<br>
Is there any better way than fork and Semaphore? Maybe some force redraw method I have overlooked?<br>
<br>
Thanks in advance!<br>
______________________________<u></u>_________________<br>
Beginners mailing list<br>
<a href="mailto:Beginners@lists.squeakfoundation.org" target="_blank">Beginners@lists.<u></u>squeakfoundation.org</a><br>
<a href="http://lists.squeakfoundation.org/mailman/listinfo/beginners" target="_blank">http://lists.squeakfoundation.<u></u>org/mailman/listinfo/beginners</a><br>
</blockquote></div><br></div></div></div>
</blockquote></div><br>