home *** CD-ROM | disk | FTP | other *** search
/ Passport / passport.iso / pc / passport / numbers.dxr / Script_4.ls < prev    next >
Encoding:
Text File  |  1998-01-26  |  952 b   |  51 lines

  1. on mouseEnter
  2.   set R to the rollOver
  3.   case R of
  4.     8:
  5.       set the loc of sprite 18 to point(34, 87)
  6.     9:
  7.       set the loc of sprite 18 to point(33, 140)
  8.     10:
  9.       set the loc of sprite 18 to point(33, 184)
  10.     12:
  11.       set the loc of sprite 18 to point(32, 223)
  12.     13:
  13.       set the loc of sprite 18 to point(32, 258)
  14.     14:
  15.       set the loc of sprite 18 to point(32, 295)
  16.     otherwise:
  17.       exit
  18.   end case
  19.   set the visible of sprite 18 to 1
  20. end
  21.  
  22. on mouseLeave
  23.   set R to the rollOver
  24.   if (R < 8) or (R > 14) or (R = 11) then
  25.     set the visible of sprite 18 to 0
  26.   end if
  27. end
  28.  
  29. on mouseDown
  30.   set R to the rollOver
  31.   case R of
  32.     8:
  33.       mode("Cardinal")
  34.     9:
  35.       mode("Ordinal")
  36.     10:
  37.       mode("Test")
  38.     12:
  39.       if not (the visible of sprite 16) then
  40.         ThisTest()
  41.       end if
  42.     13:
  43.       if not (the visible of sprite 16) then
  44.         SolTest()
  45.       end if
  46.     14:
  47.       NextTest()
  48.   end case
  49.   pass()
  50. end
  51.