home *** CD-ROM | disk | FTP | other *** search
/ Chip 1997 July / CHIP_CD_1997_07_PL.iso / knowhow / internet / media / files / key.dir / 00005.ls < prev    next >
Encoding:
Text File  |  1997-03-24  |  648 b   |  30 lines

  1. on mouseDown
  2.   puppetSound("k3")
  3.   set variable to the castNum of sprite the clickOn
  4.   set variable to variable + 1
  5.   set the castNum of sprite the clickOn to variable
  6.   updateStage()
  7.   repeat while the stillDown
  8.     set the castNum of sprite the clickOn to variable
  9.     updateStage()
  10.   end repeat
  11.   set variable to variable - 1
  12.   set the castNum of sprite the clickOn to variable
  13.   updateStage()
  14.   if the frame < 41 then
  15.     go("2")
  16.   else
  17.     if the frame < 51 then
  18.       go("4")
  19.     else
  20.       if the frame < 61 then
  21.         go("6")
  22.       else
  23.         if the frame < 66 then
  24.           go("7")
  25.         end if
  26.       end if
  27.     end if
  28.   end if
  29. end
  30.