Fwd: [Squeakland] event capture, batched screen updates, wait

Kim Rose kim.rose at vpri.org
Thu Nov 1 08:04:48 PDT 2007


Scott,

Can your "event theater" help Tim do what he is seeking?

Kim


Begin forwarded message:

> From: Bert Freudenberg <bert at freudenbergs.de>
> Date: November 1, 2007 3:59:17 AM PDT
> To: Timothy Falconer <timothy at immuexa.com>
> Cc: Squeakland list <squeakland at squeakland.org>
> Subject: Re: [Squeakland] event capture, batched screen updates, wait
>
>
> On Nov 1, 2007, at 6:57 , Timothy Falconer wrote:
>
>> Hi all,
>>
>> Three questions about etoys.
>>
>> First, is there a way I can capture the event of turning a page in  
>> a book to fire off a script?   Specifically:
>>
>> 1. click next to go to page4
>>
>> 2. this fires page4.startTheFun
>>
>> 3. click prev, then click next again
>>
>> 4. fires page4.startTheFun again
>
> Don't know - I'll let others answer this.
>
>> Second, when looping within a script, it appears that the screen  
>> updates are batched.  If I do "repeat 10 ... forward 10", it looks  
>> the same as if I did "forward 100".  Is there a way around this,  
>> or do all screen updates happen on a clock tick.
>
> Disable the "batchPenTrails" preference. We now changed the default.
>
>> Last, is there a way to wait a set amount of time, other than  
>> rolling my own "wait" using a variable?
>
> Not in this version of Etoys, no.
>
> - Bert -
>
>
>
> _______________________________________________
> Squeakland mailing list
> Squeakland at squeakland.org
> http://squeakland.org/mailman/listinfo/squeakland




More information about the Squeakland mailing list