[squeakland] Request for Help - Question 20100501

Carlos Rabassa carnen at mac.com
Wed Jan 6 14:31:57 EST 2010


Bert,

thank you very much.

Tried your solution.

It works perfectly.

Now I have to incorporate it to some projects.

Will let you know about my progress.

Thanks!!

Carlos


On Jan 6, 2010, at 11:02 AM, Bert Freudenberg wrote:

> On 06.01.2010, at 13:57, Carlos Rabassa wrote:
>>
>>
>> My problem would be resolved if I could stop all sounds,  then I  
>> would have silence to start the sound for the new page.
>
> Carlos,
>
> you can make yourself a tile that stops all sounds.
>
> 1) make a new script, switch it to "textual" mode using its white  
> menu button:
>
> <PastedGraphic-1.png>
>
> 2) replace the "^self" line in the script with "SoundPlayer  
> stopPlayingAll", then press Cmd-S to save it:
>
> <PastedGraphic-2.png>
>
> 3) use the new tile in your own script:
>
> <PastedGraphic-4.png>
>
> Explanation:
>
> "SoundPlayer stopPlayingAll" is an expression from the "Squeak"  
> programming language underlying Etoys. By switching a script to  
> "textual" mode you can enter arbitrary statements. This is useful to  
> access functionality not provided by Etoys tiles directly.
>
> - Bert -
>



More information about the squeakland mailing list