home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1997 February / WPCFEB97.ISO / multi / times / data / shared.dir / 00982.ls < prev    next >
Encoding:
Text File  |  1996-08-11  |  1.2 KB  |  45 lines

  1. on exitFrame
  2.   global mapLinePos
  3.   go(the frame)
  4.   if rollOver(47) then
  5.     toolsUp()
  6.   else
  7.     toolsDown()
  8.   end if
  9.   if rollOver(41) then
  10.     set the castNum of sprite 41 to 941
  11.     set the castNum of sprite 42 to cast string("gridMap" & the frame - 10)
  12.     set the locV of sprite 42 to mapLinePos
  13.     set the locH of sprite 42 to 358
  14.     set the lineSize of sprite 43 to 0
  15.   else
  16.     set the castNum of sprite 41 to cast 942
  17.     set the locV of sprite 42 to -2000
  18.     set the lineSize of sprite 43 to 2
  19.   end if
  20.   if the mouseCast = 963 then
  21.     set the lineSize of sprite 15 to 2
  22.     set the foreColor of sprite 15 to 30
  23.     cursor([999, 989])
  24.   else
  25.     if the castNum of sprite 15 > 960 then
  26.       set the lineSize of sprite 15 to 1
  27.       set the foreColor of sprite 15 to 27
  28.     end if
  29.   end if
  30.   if the mouseCast = 964 then
  31.     set the lineSize of sprite 16 to 2
  32.     set the foreColor of sprite 16 to 30
  33.     cursor([1000, 990])
  34.   else
  35.     if the castNum of sprite 16 > 960 then
  36.       set the lineSize of sprite 16 to 1
  37.       set the foreColor of sprite 16 to 27
  38.     end if
  39.   end if
  40.   if (the mouseCast < 961) or (the mouseCast > 964) then
  41.     cursor(-1)
  42.   end if
  43.   updateStage()
  44. end
  45.