[squeakland] Change button state image

Mike Lee curiouslee at gmail.com
Wed Jul 3 13:08:47 EDT 2013


Thanks so much for the quick reply! I will definitely check out your
attached script later tonight. And you read our minds as the guys have
asked about implementing in Etoys something like the Memorize activity in
Sugar. It's hard to get details shared because we're messaging through
Facebook and they guys have limited web access and usually have to text
from a T-9 phone keypad. I'm close to being able to schedule Skype video or
Hangouts at one of their local cybercafes, and they would love to meet you
virtually one day soon.

I'll share this email with David right away.

I can't wait to hear about your new project as well.


On Wed, Jul 3, 2013 at 12:53 PM, Steve Thomas <sthomas1 at gosargon.com> wrote:

> Mike,
> Good to hear from you.  Still swamped, but never so much I can't find time
> to help you or one of your students.
> First you do not need the *mouseWatcher* script.  mouseDown/mouseUp are
> event listeners that are always listening, no need to start those scripts
> or keep them running.  Try deleting that script and your project will still
> work.
> Okay, a couple of other options depending on how David wants to use this.
> 1) You can use a holder to hold the two (or more) images you want to
> switch between, then iterate through the holder on each mouse down. See
> page 2 of attached project.  This has the advantage of introducing David to
> collections and iterating through the collections (in a visual way where
> the holder can help visualize the concepts. See page 1 of attached project.
> 2) You can use show/hide with two objects where if you click on one object
> it hides itself and shows the other (an visa versa). See page 2 of attached
> project)
> 3) You can get really elaborate and create your own Memorize Game (which
> students can use to build their own (see page 3 of attached project, I may
> need to find a way to make the code simpler and more readable, but it
> works).
> 4) You could create your own scripting tile  (well not a real scripting
> tile, which would be cool if you could do that) if I have time I might
> demonstrate that later.
> Also FYI, I am working on a project to allow disabled kids who can only
> say squeeze a stuffed animal an have some gross movement skills to
> communicate with others using Etoys. And also allow their teachers and
> parents to create their own pictographs the child can use to communicate.
>  More on that later.
> Cheers,
> Stephen
> On Wed, Jul 3, 2013 at 2:15 AM, Mike Lee <curiouslee at gmail.com> wrote:
>> Hi Steve,
>> I hope this email finds you well and not too buried under work.
>> My Zambian student David asked me today for a solution to changing a
>> button graphic to another on mouse down. He intends to use this to "flip" a
>> card (rectangle object) over to show answer.
>> I'm proud to say that I came up with something that works, but there
>> probably is a better solution.
>> If you have a minute to look and respond, that would be great. If not, no
>> worries.
>> Mike
> --
> To some of us, writing computer programs is a fascinating game. A program
> is a building of thought. It is costless to build, weightless, growing
> easily under our typing hands. If we get carried away, its size and
> complexity will grow out of control, confusing even the one who created it.
> This is the main problem of programming. It is why so much of today's
> software tends to crash, fail, screw up.
> When a program works, it is beautiful. The art of programming is the skill
> of controlling complexity. The great program is subdued, made simple in its
> complexity.
> - Martin Harverbeke (from Eloquent JavaScript<http://eloquentjavascript.net/index.html>
> )
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.squeakland.org/pipermail/squeakland/attachments/20130703/db1e7f67/attachment.html>

More information about the squeakland mailing list