[etoys-dev] Floss Manual Question

karl ramberg karlramberg at gmail.com
Thu Jun 17 04:42:03 EDT 2010


Hm,
I don't see how this could ever have worked the way it is now...
Player>>getListening asks for WsWorldStetoscope>>default
and WsWorldStetoscope>>default returns ^self new...
The new instance do not have the state the instance you are using, so it is
pointless to ask if it is listening.


Wonder if this way of fixing it is to hackish ?

WsWorldStethoscope>>default
| all |
all := WsWorldStethoscope allInstances.
all ifEmpty:[^self new].
^all first

Karl

On Thu, Jun 17, 2010 at 3:11 AM, Steve Thomas <sthomas1 at gosargon.com> wrote:

> In "sound" category for "Playfields"  there is an boolean: "listening" is
> has arrow which implies that it can be set.
> Yet I can not change it. It always reverts to false (even with a running
> script :)
>
> When I bring out the "World Stethescope" and click on Start, the value does
> not change. (even for the World's or the "World Stethescopes"
> sound.listening attribute).
>
> What is the purpose and how is it to be used?
>
> Thanks,
> Stephen
>
> _______________________________________________
> etoys-dev mailing list
> etoys-dev at squeakland.org
> http://lists.squeakland.org/mailman/listinfo/etoys-dev
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.squeakland.org/pipermail/etoys-dev/attachments/20100617/613c9fc5/attachment.html


More information about the etoys-dev mailing list