home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1997 August / macformat-053.iso / mac / Demos / Acacia Educational Multimedia / START.Dxr / 00032.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 [211407: [1101, 9, 0.0, 0.0], 210427: [1101, 9, 0.0, 0.0], 210206: [1101, 9, 0.0, 0.0], 210904: [1101, 9, 0.0, 0.0], 221302: [1101, 9, 0.0, 0.0], 230224: [1101, 9, 0.0, 0.0], 230202: [1101, 9, 0.0, 0.0], 250208: [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("finishM")
  22.   end if
  23. end
  24.