home *** CD-ROM | disk | FTP | other *** search
/ Chip 1998 February / CHIP_2_98.iso / software / testsoft / muzea / exemusei / shared.cst / 00907_Script_Atem < prev    next >
Text File  |  1987-04-12  |  661b  |  28 lines

  1. on Atem R
  2.   cursore
  3.   put 0 into Flag
  4.   put R-21 into A
  5.   put R-20 into B
  6.   put R-22 into C
  7.   put the locH of sprite A into hA
  8.   put the locH of sprite B into hB
  9.   set the locH of sprite C = the locH of sprite C - 1000
  10.   repeat with k = 1 to 4
  11.     set the locH of sprite A = hA-K*20
  12.     set the locH of sprite B = hB+K*20
  13.     updatestage
  14.   end repeat  
  15.   repeat while rollover(R)
  16.     if the mousedown then
  17.       suonainterruttore
  18.       repeat with k = 2 down to 1
  19.         set the locH of sprite A = hA-k*30
  20.         set the locH of sprite B = hB+k*30
  21.         updatestage
  22.       end repeat
  23.       exit repeat
  24.     end if
  25.   end repeat
  26. end
  27.  
  28.