Home
Project Folders
Teacher Resources
Student Resources
How Do I?
Literacy
MWForum
Site Map
Search
Our Team

MWForum Message [Date Index] [Threads] [Authors] [Attachments] [Subscribe]

[Thread Prev] [Thread Next]

To: mwforum@xxxxxxxxxxxxxxxxxxxxxxxxxxxx
Subject: Re: changing music
From: "Daniel Ajoy" <da.ajoy@xxxxxxxxx>
Date: Mon, 13 Nov 2006 08:22:09 -0500

On 12 Nov 2006 at 22:30, zehava wizman wrote:

> I would like to know some other ways to do it, maybe with list?


I had to separate the launching of the music from the action of
the turtle because when the turtle was cancelling the music it 
was also cancelling it's own actions (weird behaviour). 
So here is a work-around:

to startup
 make "songs [happy forest beach]
 make "current "xxxxxxx
 when [not :current = first :songs] [
  cancel :current
  make "current first :songs
  launch :current
 ]
end

to change_songs_1
 make "songs lput first :songs butfirst :songs
 show :songs
end


Daniel
OpenWorld Learning




  • Previous by thread: changing music
  • Next by thread: Re: changing music

  • To save an attachment to your computer, PC users should right-click (Mac users, click and hold the mouse button) on the link and then choose 'save target as' from the pop-up menu. A window will then pop up in which you can choose a location for the file.


    © copyright 2001 - 2008