home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 August / macformat-053.iso / mac / Demos / Acacia Educational Multimedia / START.Dxr / 00073.ls < prev    next >
Encoding:
Text File  |  1997-04-15  |  666 b   |  24 lines

  1. on mouseDown
  2.   global gDown
  3.   set gDown to 4
  4.   set the memberNum of sprite 4 to 24
  5.   puppetSound(3, "vol 1")
  6.   updateStage()
  7. end
  8.  
  9. on mouseUp
  10.   global gDown, gTestList, gCursor
  11.   if gDown = 4 then
  12.     set gDown to 0
  13.     set the memberNum of sprite 4 to 25
  14.     cursor(4)
  15.     updateStage()
  16.     set gTestList to [110101: [1101, 9, 0.0, 0.0], 110211: [1101, 9, 0.0, 0.0], 120101: [1101, 9, 0.0, 0.0], 120201: [1101, 9, 0.0, 0.0], 140101: [1101, 9, 0.0, 0.0], 130101: [1101, 9, 0.0, 0.0], 110410: [1101, 9, 0.0, 0.0], 120302: [1101, 9, 0.0, 0.0]]
  17.     puppetSound(3, "vol 1")
  18.     repeat while soundBusy(3)
  19.     end repeat
  20.     set gCursor to 1
  21.     go("finishG")
  22.   end if
  23. end
  24.