home *** CD-ROM | disk | FTP | other *** search
/ PC Home 44 / PC_Home_Issue_44.iso / director / software.dxr / 00065.ls < prev    next >
Encoding:
Text File  |  1996-03-18  |  843 b   |  37 lines

  1. on enterFrame
  2.   if rollOver(24) then
  3.     set the visible of sprite 26 to 1
  4.     set the visible of sprite 24 to 0
  5.   else
  6.     if rollOver(25) then
  7.       set the visible of sprite 27 to 1
  8.       set the visible of sprite 25 to 0
  9.     else
  10.       if rollOver(28) then
  11.         set the visible of sprite 29 to 1
  12.         set the visible of sprite 28 to 0
  13.       end if
  14.     end if
  15.   end if
  16.   if not rollOver(24) then
  17.     set the visible of sprite 26 to 0
  18.     set the visible of sprite 24 to 1
  19.   end if
  20.   if not rollOver(25) then
  21.     set the visible of sprite 27 to 0
  22.     set the visible of sprite 25 to 1
  23.   end if
  24.   if not rollOver(28) then
  25.     set the visible of sprite 29 to 0
  26.     set the visible of sprite 28 to 1
  27.     updateStage()
  28.   end if
  29. end
  30.  
  31. on exitFrame
  32.   if not soundBusy(2) then
  33.     sound playFile 2, "trk18b8s.wav"
  34.   end if
  35.   go(the frame)
  36. end
  37.