home *** CD-ROM | disk | FTP | other *** search
/ CD-ROM Today - The Disc! 22 / cdrt22.iso / pc / bugbook / home.dir / 00379_Script_379 < prev    next >
Text File  |  1995-06-27  |  962b  |  32 lines

  1. on mouseDown
  2.   global currBut,currButDistance,currV,currH,toFrame,localDir,homeDir,helpBack
  3.   put the mouseV into currV
  4.   put the mouseH into currH
  5.   
  6.   repeat with x = 1 to 4
  7.     if currV>(the locV of getAt(currBut,x)-the locV of getAt(currButDistance,x)) and currV<(the locV of getAt(currBut,x)+the locV of getAt(currButDistance,x)) and currH>(the locH of getAt(currBut,x)-the locH of getAt(currButDistance,x)) and currH<(the locH of getAt(currBut,x)+the locH of getAt(currButDistance,x)) then
  8.       exit repeat
  9.     end if
  10.   end repeat
  11.   
  12.   if x = 1 then 
  13.     
  14.     questionDown()
  15.     cursor 4
  16.     set helpBack=[("start"),(the pathName&the movieName)]
  17.     go "habitat" of movie homeDir&"helpme.dir"
  18.   else if x=2 then
  19.     screenButNotActive()
  20.   else if x=3 then 
  21.     screenButNotActive()
  22.     
  23.   else if x=4 then 
  24.     backDown()
  25.     cursor 4
  26.     go "start" of movie "wait.dir"
  27.     
  28.   else
  29. --    screenButNotActive()
  30.   end if
  31.   
  32. end