home *** CD-ROM | disk | FTP | other *** search
/ PC Play 1 / PCPLAY1.ISO / main.dxr / 00010_waitAwhile.ls < prev    next >
Encoding:
Text File  |  1996-08-30  |  297 b   |  24 lines

  1. global gButton
  2.  
  3. on exitFrame
  4.   if the timer >= (60 * 2) then
  5.     GoToText(gButton)
  6.   else
  7.     go(the frame)
  8.   end if
  9. end
  10.  
  11. on mouseDown
  12.   if rollOver(15) then
  13.     set the timer to 60 * 2
  14.   end if
  15.   pass()
  16. end
  17.  
  18. on keyDown
  19.   if the key = RETURN then
  20.     set the timer to 60 * 2
  21.   end if
  22.   pass()
  23. end
  24.