home *** CD-ROM | disk | FTP | other *** search
/ MacFormat 1999 Spring / macformat-077.iso / Demos / RealPool Demo / 3D.DAT / 00780.ls < prev    next >
Encoding:
Text File  |  1998-05-02  |  346 b   |  15 lines

  1. on mouseDown
  2.   butsound()
  3.   repeat while the mouseDown
  4.     set yu3 to the castNum of sprite 4
  5.     set yu to the scrollTop of cast yu3
  6.     set yu to yu + 10
  7.     set yu2 to the height of cast yu3 - the height of sprite 4
  8.     if yu > yu2 then
  9.       set yu to yu2
  10.     end if
  11.     set the scrollTop of cast yu3 to yu
  12.     updateStage()
  13.   end repeat
  14. end
  15.