home *** CD-ROM | disk | FTP | other *** search
/ What PC? 1996 November / WPCNOV96.ISO / radio.dxr / 00009_EXITButton.ls < prev    next >
Encoding:
Text File  |  1996-09-17  |  418 b   |  18 lines

  1. on EXITButton
  2.   global MGIRadio
  3.   if rollOver(6) then
  4.     set the castNum of sprite 6 to the castNum of sprite 6 + 1
  5.     updateStage()
  6.     repeat while rollOver(6)
  7.       if the mouseDown then
  8.         set MGIRadio to 0
  9.         puppetSound(0)
  10.         forget(window "radio")
  11.         updateStage()
  12.         exit repeat
  13.       end if
  14.     end repeat
  15.     set the castNum of sprite 6 to the castNum of sprite 6 - 1
  16.   end if
  17. end
  18.