home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 November / SHOWCASE.ISO / files / vision.dir / 00294_Script_294 < prev    next >
Text File  |  1995-06-14  |  589b  |  26 lines

  1. global gLastSprite
  2. on exitFrame
  3.   go to the frame
  4. end
  5.  
  6. on idle
  7.   repeat with n = 21 to 28
  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 7, TRUE
  12.         set the castnum of sprite 7 = ¼
  13.         the number of cast  (the name of cast(the castnum of sprite n) && "name")
  14.       end if
  15.       exit repeat
  16.     end if
  17.   end repeat
  18.   
  19. --  repeat with n = 21 to 28
  20. --    if n <> lastSprite then
  21. --      puppetSprite 7, FALSE
  22. --    end if
  23. --  end repeat
  24.   updatestage
  25. end
  26.