home *** CD-ROM | disk | FTP | other *** search
/ PC Pro 1995 September / PCPRO2_995.ISO / neural / open.dir / 00001_Start script.ls next >
Encoding:
Text File  |  1995-05-13  |  1.7 KB  |  52 lines

  1. on startMovie
  2.   global Pname, rollOverFlag, visSubtitles, subjListVar, glossListVar, previousM, nextM, pauseFlag, quitFile, sliderposition, exclusionFlag, contentButtonFlag, subsCount, thisMachineColorDepth, subtitleHolder, subtitleCount, repeatFlag, musicFlag, bTrackNameList, bTrackFileList, markImmediateFlag, firstThrough, sConstrainNum, fanfareFlag, fileFrameRate, pauseController, frameRef, bTrackFlag
  3.   clearGlobals()
  4.   set bTrackFlag to 0
  5.   set frameRef to 0
  6.   set pauseController to 0
  7.   set fileFrameRate to 2
  8.   set sConstrainNum to 0
  9.   set floatPrecision to 3
  10.   set firstThrough to 1
  11.   set markImmediateFlag to 0
  12.   set tickMarksList to []
  13.   set movableSpriteList to []
  14.   set musicFlag to 1
  15.   set bTrackNameList to []
  16.   set bTrackFileList to []
  17.   set previousM to "Contents.dir"
  18.   set nextM to "Contents.dir"
  19.   set pauseFlag to 0
  20.   set contentButtonFlag to 0
  21.   set visSubtitles to 0
  22.   set subsCount to 1
  23.   set subtitleCount to 1
  24.   set sliderposition to 210
  25.   set repeatFlag to 0
  26.   set exclusionFlag to 0
  27.   set rollOverFlag to 0
  28.   set Pname to the pathName
  29.   set the exitLock to 1
  30.   set the volume of sound 1 to 180
  31.   set the volume of sound 2 to 180
  32.   set the stageColor to 255
  33.   set the centerStage to 1
  34.   set the fixStageSize to 1
  35.   set fanfareFlag to 0
  36.   cursor([10])
  37.   set the mouseDownScript to "goNow"
  38.   set the keyDownScript to "goNow"
  39.   set thisMachineColorDepth to the colorDepth
  40.   if the colorDepth <> 8 then
  41.     alert("This application will not run properly unless the screen is set to8 bit (256) colours.")
  42.   end if
  43. end
  44.  
  45. on goNow
  46.   global Pname, musicFlag
  47.   sound stop 2
  48.   set the mouseDownScript to EMPTY
  49.   set the keyDownScript to EMPTY
  50.   go(1, Pname & "Mn\" & "Contents.dxr")
  51. end
  52.