home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 November / SHOWCASE.ISO / files / vision.dir / 00360_Script_360 < prev    next >
Text File  |  1995-06-14  |  548b  |  25 lines

  1. global gLastSprite
  2. on exitFrame
  3.   go to the frame
  4. end
  5.  
  6. on idle
  7.   repeat with n = 16 to 23
  8.     if rollover(n) then
  9.       if n <> gLastSprite AND the mouseCast = the castNum of sprite n then 
  10.         put n into lastSprite
  11.         puppetSprite n, TRUE
  12.         set the castnum of sprite n = the number of cast ("section"& string(n-15) && "lit")
  13.       end if
  14.       exit repeat
  15.     end if
  16.   end repeat
  17.   
  18.   repeat with n = 16 to 23
  19.     if n <> lastSprite then
  20.       puppetSprite n, FALSE
  21.     end if
  22.   end repeat
  23.   updatestage
  24. end
  25.