Hi,
I've been trying to discover how to run an animation only once, without success.
If you click on the animation script's yellow question mark, it moves to the next cursor position. If you click on the clock, the script loops endlessly. I've explored the script menu, but nothing I've found so far has enabled me to run the animation one cycle through all the frames, then stop. How does one do that?
Thanks,
Randy
Am 25.06.2006 um 02:00 schrieb Randy Goldenberg:
Hi,
I've been trying to discover how to run an animation only once, without success.
If you click on the animation script's yellow question mark, it moves to the next cursor position. If you click on the clock, the script loops endlessly. I've explored the script menu, but nothing I've found so far has enabled me to run the animation one cycle through all the frames, then stop. How does one do that?
Squeak does not know when your animation's cycle is done, because there is no animation built into etoys - you created it yourself. So you have to teach it to stop when appropriate yourself, too. For example, use a Test tile to pause the script when the cursor has reached the holder's last element.
- Bert -
squeakland@lists.squeakfoundation.org