home *** CD-ROM | disk | FTP | other *** search
/ MAN Special / MAN.iso / MAN / SHARED.DIR / 01004_scriptPrincipal.ls < prev    next >
Encoding:
Text File  |  1997-05-09  |  825 b   |  50 lines

  1. global gCurs, gMainCurs, gSep, gIsPC, gClick, opcion, ESPECIAL_TODAS, MEDIDA_TODAS
  2.  
  3. on startMovie
  4.   clearGlobals()
  5.   set ESPECIAL_TODAS to 0
  6.   set MEDIDA_TODAS to 0
  7.   if the machineType = 256 then
  8.     set gIsPC to 1
  9.     set gSep to "\"
  10.   else
  11.     set gIsPC to 0
  12.     set gSep to ":"
  13.   end if
  14.   set gCurs to [the number of cast "curs_main", the number of cast "curs_mainMask"]
  15.   set gMainCurs to -1
  16.   preLoadCast(the number of cast "click")
  17.   set gClick to the number of cast "click"
  18.   preLoadCast(the number of cast "opcion")
  19.   set opcion to the number of cast "opcion"
  20. end
  21.  
  22. on clears
  23.   clearGlobals()
  24. end
  25.  
  26. on Salida
  27.   quit()
  28.   abort()
  29. end
  30.  
  31. on cursorhand
  32.   cursor(gCurs)
  33. end
  34.  
  35. on cursormain
  36.   cursor(gMainCurs)
  37. end
  38.  
  39. on cursorBusy
  40.   cursor(4)
  41. end
  42.  
  43. on doClick
  44.   puppetSound(1, gClick)
  45. end
  46.  
  47. on opcion
  48.   puppetSound(1, opcion)
  49. end
  50.