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

  1. on mouseUp
  2.   global eBeenThereList, eLast
  3.   
  4.   set the castNum of sprite eLast = (the castNum of sprite eLast) + 1
  5.   set eLast = the clickOn
  6.   
  7.   set the castNum of sprite 4 = 400
  8.   set the castNum of sprite 9 = 408
  9.   if the machineType = 256 then 
  10.     set the filename of cast "video" = the pathName & "MOVS\overview\MOUTHING.MOV"
  11.   else  set the filename of cast "video" = "ASL:MOVS:overview:MOUTHING.MOV"
  12.   
  13.   if getOne(eBeenThereList,eLast) = 0 then 
  14.     
  15.     append(eBeenThereList,eLast)
  16.     
  17.     set the castNum of sprite eLast = the castNum of sprite eLast + 1
  18.   else
  19.     set the castNum of sprite eLast = the castNum of sprite eLast - 1
  20.   end if
  21.   
  22.   if the height of cast (the castNum of sprite 4) > the height of sprite 5 then
  23.     set the locV of sprite 4 = 222
  24.     set the locV of sprite 43 = 267
  25.     updateStage
  26.     repeat with i = 32 to 34
  27.       set the visible of sprite i  = true
  28.       puppetSprite i, true
  29.       set the visible of sprite 43  = true
  30.       puppetSprite 43, true
  31.     end repeat
  32.     updateStage
  33.   else
  34.     set the locV of sprite 4 = 222
  35.     set the locV of sprite 43 = 267
  36.     updateStage
  37.     repeat with i = 32 to 34
  38.       set the visible of sprite i  = false
  39.       puppetSprite i, false
  40.       set the visible of sprite 43  = false
  41.       puppetSprite 43, false
  42.     end repeat
  43.     updateStage
  44.   end if
  45. end