home *** CD-ROM | disk | FTP | other *** search
/ Computer Buyer 1995 November / SHOWCASE.ISO / files / support.dir / 00026_Script_26 < prev    next >
Text File  |  1994-12-18  |  777b  |  29 lines

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