home *** CD-ROM | disk | FTP | other *** search
/ Webster's Millennium Amer…Sign Language Dictionary / ASL.ISO / mac / Overview.dir / 00489_Script_489 < prev    next >
Text File  |  2001-09-16  |  1KB  |  45 lines

  1. on mouseUp
  2.   global sBeenThereList, sLast
  3.   
  4.   set the castNum of sprite sLast = (the castNum of sprite sLast) + 1
  5.   set sLast = the clickOn
  6.   
  7.   set the castNum of sprite 4 = 445
  8.   
  9.   if getOne(sBeenThereList,sLast) = 0 then 
  10.     
  11.     append(sBeenThereList,sLast)
  12.     
  13.     set the castNum of sprite sLast = the castNum of sprite sLast + 1
  14.   else
  15.     set the castNum of sprite sLast = the castNum of sprite sLast - 1
  16.   end if
  17.   
  18.   updateStage
  19.   
  20.   
  21.   if the puppet of sprite 24 = true then
  22.     repeat with i = 24 to 27
  23.       --set the visible of sprite i  = false
  24.       puppetSprite i, false
  25.     end repeat
  26.     go the frame
  27.   end if
  28.   updateStage
  29.   
  30.   if the height of cast (the castNum of sprite 4) > the height of sprite 5 then
  31.     set the locV of sprite 4 = 161
  32.     repeat with i = 24 to 27
  33.       set the visible of sprite i  = true
  34.       puppetSprite i, true
  35.     end repeat
  36.     updateStage
  37.   else
  38.     set the locV of sprite 4 = 161
  39.     repeat with i = 24 to 27
  40.       set the visible of sprite i  = false
  41.       puppetSprite i, false
  42.     end repeat
  43.     updateStage
  44.   end if
  45. end