home *** CD-ROM | disk | FTP | other *** search
/ Webster's Millennium Amer…Sign Language Dictionary / ASL.ISO / mac / FS.dir / 00003_Script_3 < prev    next >
Text File  |  2001-09-04  |  573b  |  30 lines

  1. on exitFrame
  2.   if count(the windowList) < 2 then rollCheck[3,4,5]
  3.   go the frame
  4. end
  5.  
  6. on keyDown
  7.   global gBSpList
  8.   
  9.   
  10.   if not voidP(shiftKeyFilter(the key)) then
  11.     set var =  shiftKeyFilter(the key)
  12.   else
  13.     set var = the key
  14.   end if
  15.   
  16.   if not voidP(getaProp(gBSpList,var)) then
  17.     puppetSprite 9, true
  18.     
  19.     set the castNum of sprite 9 = getaProp(gBSpList,var)
  20.     set the visible of sprite 9 = true
  21.     updateStage
  22.     
  23.   else
  24.     puppetSprite 9, false
  25.     set the visible of sprite 9 = false
  26.     updateStage
  27.     
  28.   end if
  29. end
  30.