home *** CD-ROM | disk | FTP | other *** search
/ Better Homes & Gardens: Cool Crafts / NEW.iso / pc / crafts. / 00059_upPress.ls < prev    next >
Encoding:
Text File  |  1994-12-05  |  646 b   |  21 lines

  1. on mouseUp
  2.   global gOffSet, gListStart, gSlidStart, gIncrement, gGlobalMode
  3.   if gGlobalMode <> "helpMode" then
  4.     set the castNum of sprite 11 to 57
  5.     if (the locV of sprite 2 + 18) < gListStart then
  6.       set the locV of sprite 2 to the locV of sprite 2 + 18
  7.       if (the locV of sprite 13 - gIncrement) > gSlidStart then
  8.         set the locV of sprite 13 to the locV of sprite 13 - gIncrement
  9.       else
  10.         set the locV of sprite 13 to gSlidStart
  11.       end if
  12.     else
  13.       set the locV of sprite 2 to gListStart
  14.       set the locV of sprite 13 to the top of sprite 10
  15.     end if
  16.     updateStage()
  17.   else
  18.     nothing()
  19.   end if
  20. end
  21.