home *** CD-ROM | disk | FTP | other *** search
/ The Dynamic Human Version 2.0 / DH2_CD2.ISO / pc / files / help.dxr / 00005.ls < prev    next >
Encoding:
Text File  |  1997-11-17  |  672 b   |  26 lines

  1. on exitFrame
  2.   global gReturnButton, backButton, forwardButton, selectButtons
  3.   resetBut()
  4.   if getPos([2, 5, 15, 40], the frame) <= 0 then
  5.     updateButton(backButton)
  6.   end if
  7.   if getPos([2, 10, 35, 65], the frame) <= 0 then
  8.     updateButton(forwardButton)
  9.   end if
  10.   updateButton(selectButtons)
  11.   updateButton(gReturnButton)
  12.   go(the frame)
  13. end
  14.  
  15. on mouseUp
  16.   global gReturnButton, backButton, forwardButton, selectButtons
  17.   if getPos([2, 5, 15, 40], the frame) <= 0 then
  18.     buttonMouseUp(backButton)
  19.   end if
  20.   if getPos([2, 10, 35, 65], the frame) <= 0 then
  21.     buttonMouseUp(forwardButton)
  22.   end if
  23.   buttonMouseUp(selectButtons)
  24.   buttonMouseUp(gReturnButton)
  25. end
  26.