home *** CD-ROM | disk | FTP | other *** search
/ PC Home 44 / PC_Home_Issue_44.iso / director / main.dxr / 00060.ls < prev    next >
Encoding:
Text File  |  1996-03-18  |  580 b   |  27 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.     end if
  10.   end if
  11.   if not rollOver(24) then
  12.     set the visible of sprite 26 to 0
  13.     set the visible of sprite 24 to 1
  14.   end if
  15.   if not rollOver(25) then
  16.     set the visible of sprite 27 to 0
  17.     set the visible of sprite 25 to 1
  18.   end if
  19. end
  20.  
  21. on exitFrame
  22.   if not soundBusy(2) then
  23.     sound playFile 2, "trk18b8s.wav"
  24.   end if
  25.   go(the frame)
  26. end
  27.