home *** CD-ROM | disk | FTP | other *** search
/ MacAddict 6 / MacAddict_006_1997_02.iso / media / Main.Dxr / Internal_18.ls < prev    next >
Encoding:
Text File  |  1996-11-25  |  1.9 KB  |  60 lines

  1. on exitFrame
  2.   banner1()
  3.   set the visible of sprite 6 to rollOver(2)
  4.   set the visible of sprite 14 to rollOver(2)
  5.   set the visible of sprite 7 to rollOver(3)
  6.   set the visible of sprite 15 to rollOver(3)
  7.   set the visible of sprite 8 to rollOver(4)
  8.   set the visible of sprite 16 to rollOver(4)
  9.   set the visible of sprite 9 to rollOver(5)
  10.   set the visible of sprite 17 to rollOver(5)
  11.   set the visible of sprite 21 to rollOver(20)
  12.   set the visible of sprite 36 to rollOver(23)
  13.   set the visible of sprite 37 to rollOver(38)
  14.   set the visible of sprite 45 to rollOver(42)
  15.   set the visible of sprite 46 to rollOver(43)
  16.   set the visible of sprite 47 to rollOver(44)
  17.   set the visible of sprite 48 to rollOver(22)
  18.   if soundBusy(2) = 0 then
  19.     soundswitch()
  20.   end if
  21. end
  22.  
  23. on banner1
  24.   global adbanner
  25.   set adbanner to adbanner + 1
  26.   if adbanner = 1 then
  27.     set the memberNum of sprite 35 to the number of member "ad1"
  28.   else
  29.     if adbanner = 2 then
  30.       set the memberNum of sprite 35 to the number of member "ad2"
  31.     else
  32.       if adbanner = 3 then
  33.         set the memberNum of sprite 35 to the number of member "ad3"
  34.       else
  35.         if adbanner = 4 then
  36.           set the memberNum of sprite 35 to the number of member "ad4"
  37.         else
  38.           if adbanner = 5 then
  39.             set the memberNum of sprite 35 to the number of member "ad5"
  40.           else
  41.             if adbanner = 6 then
  42.               set the memberNum of sprite 35 to the number of member "ad6"
  43.             else
  44.               if adbanner = 7 then
  45.                 set the memberNum of sprite 35 to the number of member "ad7"
  46.               else
  47.                 if adbanner = 8 then
  48.                   set the memberNum of sprite 35 to the number of member "ad8"
  49.                   set adbanner to 0
  50.                 else
  51.                 end if
  52.               end if
  53.             end if
  54.           end if
  55.         end if
  56.       end if
  57.     end if
  58.   end if
  59. end
  60.