home *** CD-ROM | disk | FTP | other *** search
/ LAUNCH 3 / LAUNCH.BIN / pc / sony / mainmov.dir / 00011_Script_11 < prev    next >
Text File  |  1995-06-07  |  827b  |  45 lines

  1. --go to 3D
  2.  
  3. on mousedown
  4.   global gCursorState
  5.   
  6.   if the doubleClick then
  7.     abort
  8.   end if
  9.   
  10.   --closed hand cursor
  11.   set Z = the number of cast "ClosedHandCursor"
  12.   set ZZ = the number of cast "ClosedHandCursor" + 1
  13.   set the cursor of sprite(20) to [Z,ZZ]
  14.   
  15.   SETPOPUP
  16.   
  17.   if gCursorState = true then
  18.     nothing
  19.   else 
  20.     TRACKUSER
  21.   end if    
  22. end
  23.  
  24. on mouseup
  25.   global gCursorState
  26.   
  27.   if the doubleClick then 
  28.     abort
  29.   end if
  30.   
  31.   put the ticks into gLastClick
  32.   
  33.   --open hand cursor
  34.   set Z = the number of cast "OpenHandCursor"
  35.   set ZZ = the number of cast "OpenHandCursor" + 1
  36.   set the cursor of sprite(20) to [Z,ZZ]
  37.   
  38.   if gCursorState = true then
  39.     SHOWINFO  --user clicked on a hotspot
  40.   else
  41.     RESET3D   --user clicked on nothing
  42.   end if    
  43.   
  44. end
  45.